The Bitbucket Server option will let you connect the source tree client to your own bitbucket server. There are 2 option buttons on the Registration window, the Bitbucket Cloud option will let you connect your source tree client to the bitbucket repository that you just created on the bitbucket website. When you run the source tree tool for the first time, it will show you the popup Registration dialog window.Download and install source tree for mac or windows.
Select the repository used language from the Language drop-down list. Click the Advanced settings link to expand the advanced settings area. Select your Version control system as Git or Mercurial, I select the Git radio button.