Embedded Git transition and System Git compatibility boundaries
21K reputation · 29 Sept 2022, 03:56 UTC
Sourcetree provides the option to toggle between the Embedded Git binary and the System Git installation via the Tools > Options menu. This configuration determines whether the application uses a bundled version of the Git CLI or the version installed globally on the operating system.
When transitioning from System Git to Embedded Git, there is a risk of version mismatch. If a local repository relies on specific flags or features introduced in a newer System Git release, the Embedded Git binary may not support these operations, potentially leading to command failures within the GUI.
Given these constraints, what is the expected behavior when the Embedded Git version is older than the version used to initialize the repository? Does Sourcetree provide a mechanism to validate feature compatibility before switching the binary source?