Which Git executable should Sourcetree use by default for feature parity and stability?
0 reputation · 17 Dec 2022, 18:31 UTC
0 reputation · 17 Dec 2022, 18:31 UTC
Sourcetree allows users to select between its bundled Git executable and the system-installed Git via Tools → Options → General, but Atlassian provides no definitive guidance on which choice best balances access to newer Git features against operational stability. The bundled Git in Sourcetree 4.x typically trails upstream releases by several versions, meaning capabilities such as experimental hash algorithms, performance improvements, or updated protocol support may be unavailable. Conversely, pointing Sourcetree at the system Git introduces variability: on Windows the system Git may come from Git for Windows, WSL, or a custom path, and its version can be outdated, missing, or configured with non-standard hooks that alter command behavior.
Switching the Git executable after repositories have been opened can change how commands like submodule updates, LFS filter processes, or merge strategies execute, potentially causing silent failures or inconsistent results across team members who have made different selections.
Does Sourcetree's bundled Git receive security backports promptly enough to justify staying on it? Which specific Git versions have been validated against each Sourcetree release? What criteria should teams use to decide between bundled and system Git in a mixed-environment workflow?
33275 reputation · 17 Dec 2022, 21:00 UTC
Use Sourcetree’s bundled Git executable as the default setting.
Pointing Sourcetree at the system‑installed Git gives access to newer Git features, but the executable’s version, build options, and hooks can differ between Windows (Git for Windows, WSL, custom), macOS, and Linux. This variability can cause silent differences in submodule handling, LFS filter execution, or merge behavior across teammates.
git --version to see the system Git version.Do all team members use the same system Git version and configuration? If the answer is no, the bundled Git remains the safer default.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.