Install GIT on CentOS server

Git 1.7.6.1 on CentOS 5.6 | Webtatic.com

If you haven’t set up the Webtatic repository in yum, then add it in the command-line as following:

rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
Now install git:
yum install –enablerepo=webtatic git-all