Using Embedded Git or System Git in Sourcetree
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
This article should help users to choose either to use System Git or Sourcetree's Embedded Git
Solution
Step 1: Locate the Git window
For Windows, the Custom Actions configuration is located in Tools > Options > Git.
For Mac, the Custom Actions configuration is located in Preferences > Git.
Using Embedded Git
Just select "Use Embedded Git" (on Windows) or "Reset to Embedded Git" (on Mac) to select the Git version which is embedded into Sourcetree
Mac

Windows

Function specific to Windows
In Sourcetree for Windows, there is a function to update the version of Git which is embedded in the installation of Sourcetree (in Options > Git > Update Embedded Git).
SourceTree file path for Embedded Git:
For Windows:
1
2
3
4
5
C:\Users\User\AppData\Local\Atlassian\SourceTree\git_local\bin\git.exe
or
%USERPROFILE%\AppData\Local\Atlassian\SourceTree\git_local\bin
For Mac:
1
/Applications/SourceTree.app/Contents/Resources/git_local/bin
Using system Git
Just select "Use System Git" to select the Git version which is installed on your system.
Mac

Windows

Was this helpful?