How to install GIT on Linux or Macdivider

On Linux you can compile the system from source or use commands like the following ones:

apt-get install git-core


yum install git-core

It depends on your distribution.

The easiest way to install GIT on Mac OS is to use the MacPorts software ( and to run the following command:

sudo port install git-core

If you want to use GIT on your Windows machine, check out our tutorial on how to install git in Windows.