With the help of EPEL, it's quite easy to install git on CentOS, basically you just need to run:

Code:
sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
If you're using CentOS 4, please use this command instead:

Code:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-9.noarch.rpm
Finnally, what you need to do is:
Code:
sudo yum install git
Now, Git is ready!