Git, a free, fast, and efficient distributed version control system! It should be used for iPhone or Mac based cocoa development.

Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server.Branching and merging are fast and easy to do.

Follow these simple instructions and you will get it setup within minutes .:)

Step 1: Set the PATH

Launch from the /Applications/Utilities folder.

Set your shell’s PATH variable first.

you should add this line to your .profile file

export PATH="/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:$PATH"

Close and Save the file.

Run the command into shell

source ~/.profile

You may wish to check the PATH variable changes:

echo $PATH
Step 2: Download

We’re going to create a folder to contain the files we’re about to download and compile. If you want, you can delete this folder when you’re done, but keeping it around makes it easier to re-install (or uninstall) these apps later.

Make the new folder & download the tar file:

mkdir ~/src
cd ~/src
url -O
Step 3: Compile and Install
tar xzvf git-
cd git-
./configure --prefix=/usr/local
sudo make install
cd ..

Confirm if Git is installed:

which git

It should display:


Now, type git to get started.

If you encounter something different, you need to set your PATH correctly. Please try again above steps!

Please let us know if you need our help.

Good luck!


Mobisoft Infotech