There are a lot of how to’s out there with several solutions including installing from source, from binaries, with an installer. Here is how I’ve done it guided by the following posts:

First, I downloaded git from its homepage in bz2 format.

Then, I compiled it and installed it using the following commands :

cd ~/Downloads
tar -xjf git-
cd git-
make prefix=/opt/git
sudo make install prefix=/opt/git

Finally, I added an alias called git to /opt/git/bin/git in my .bash_profile:

alias git='/opt/git/bin/git'

You can then configure Git with the following commands:

git config --global "Your Name"
git config --global "Your Email"

That’s all, you’re done.

Filed under: Mac OS X

Tagged with:

Liked this page?

Tweet it

Subscribe to the RSS feed or sign up for the newsletter now.

Posts related to Installing Git On Mac OS X (Snow Leopard)

1 Comment to "Installing Git On Mac OS X (Snow Leopard)"

  1. Trackback on Installing Ack In Project for Textmate : World Gone Web on January 3, 2010 at 11:31 am

    […] Installing Git On Mac OS X (Snow Leopard) […]

Name (required)

Email (required)


Leave a Reply

  • About Me

    photo of Samantha Halfon Samantha Halfon
    Software Engineer
    blueKiwi software
    Paris, France
    I enjoy playing with my computer(s), listening to Bob Dylan (and related artists) and watching movies (especially if they were directed by Martin Scorsese or John Cassavetes). Sometimes, I play a little guitar... If not doing any of the above, I am either riding a small red bike around Paris, or, making videos. About my videomaking please check out World Wide Angle and its blog.