It is easiest to install Git on Linux using the preferred package manager of your Linux distribution
yum install git-core
sudo apt-get install git-core