This is best shortest and definitely working method i found.
First you need to install the dependencies
yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel
Then get the git source code from online repo
wget http://193.198.184.21/software/scm/git/git-1.6.1.tar.gz
untar the git source code
wget http://193.198.184.21/software/scm/git/git-1.6.1.tar.gz
Finally install git
cd git-1.6.1.tar.gz make prefix=/usr/local all make prefix=/usr/local install
Check if the git is installed properly
git
DONOTCHANGE