Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't enable Git support by any means


SourceTree suddenly stopped working for me today. When I first started it up, it couldn't find my Git install. Downloading embedded Git didn't work. Sourcetree would download the files then the popup would come up again (tried this 3 times. Trying to manually locate Git did nothing. Clicking the option just brings the popup back immediately and plays and error noise as does trying to let sourcetree look again. I've updated Sourcetree to 2.48 and Git 2.16.2 64 bit. 

2 answers

I've narrowed down part of the problem. After updating Windows, sourcetree started working but the update caused my computer to become unstable and crash randomly so I had to uninstall it once again rendering sourcetree unusable with Git.

minnsey Atlassian Team Mar 20, 2018


Sourcetree will look in some known locations for git, e.g. accessible via the PATH or in standard install folders in c:\program files\ or c:\program files (x86).

It if finds a git.exe it will try running

git.exe version

It will try to parse the output to check it gets an expected result and is a supported version, essentially any 1.x or 2.x version.

I suspect you are getting some error when trying to run git.exe version

Can you see if there are any errors relating to running git version?

0 votes
minnsey Atlassian Team Mar 06, 2018


Can you check to see if embedded git appears to be installed in %localappdata%\Atlassian\Sourcetree\git_local ?

Do you have Git installed on your PATH? When you try to locate Git it will check the PATH  first it is possible that it s finding git.exe on your PATH but then failing to run it properly.

Is there anything in the %localappdata%/Atlassian/Sourcetree/sourcetree.log?

gitlocal.pngHeres what I have in git_local. My sourcetree.log file is pretty excessively lengthy and repetitive. Is there a specific error I should be looking for or should I just be posting the hundreds line of text here?

Again, part of the problem is that I don't seem to be allowed to manually direct Sourcetree to git. When I do, the alert window just pops back up without ever giving me the option to locate my git install.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,692 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you