I have XCode installed (and consequently it's bundled git); how do I get my system to use this version instead?
If you have XCode installed, and want to use a later git, running the following should help:
sudo mv /usr/bin/git /usr/bin/git-xcode sudo ln -sf /usr/local/git/bin/git /usr/bin/git
Which version should I download?
If you are running:
10.6Snow Leopard: git-*-snow-leopard
10.8Mountain Lion: git-*-snow-leopard
The Snow Leopard builds will work on Mavericks and later, but there are issues running
It doesn't work. Help!
Scream where you can be heard. File an issue here: https://github.com/timcharper/git_osx_installer/issues
Notes on building your own package:
You'll need to install
PackageMaker. It no longer ships with
XCode, but it works on OS X
Changes / Recent updates
Mavericks builds have been published to address issues running
git gui. Going forward,
Snow Leopard and
Mavericks builds will be published.
Also, the Makefile has been fixed to enable 32-bit builds of the OS X keychain credential helper. Universal builds have returned, reducing one more decision the user has to make when determining the appropriate download version.
32-bit builds for Snow Leopard (and later) are back. These were created on a 64-bit installation of Mac OS X Snow Leopard.
2014-12-19 - CVE-2014-9390 Fix, and improved build process.
CVE-2014-9390 security fix
As announced on the git mailing list, git for OS X
The following versions contain the fix:
Support for older operating systems restored / apology
64-bit builds for Snow Leopard (and later) have been published. There was an issue with the build script in which the compilation Framework was not being properly specified, and this effectively caused it to be ignored. As a result, the builds were not working on 10.8.x and earlier. I apologize deeply for this error. Further compounding the issue was lack of feedback channels, and the negative reviews were not emailed to me. This was my fault as I did not set up adequate instructions for how to ask for help. I've updated the project home page with a link to the GitHub issue tracker, and have done various cleanup to reduce clutter remaining since the transition from Google Code.
Improved build process
The build process has been greatly improved; the cumbersome script has been replaced with a more declarative Makefile. A check has been added to assert that the 32-bit package actually contain 32-bit executables.