Install Git 22.214.171.124 from source on CentOS 6.3
These are the Terminal commands I recently used (Feb 2013) to install Git 126.96.36.199 from source on CentOS 6.3. I ran this in a VirtualBox VM after a fresh install from the ISO.
You mileage will vary as the yum packages are updated over time. The
yum install line below should include all the dependencies, at least it did for me. Eventually
yum install git will include 1.8.x but until then I hope this helps.
cd ~/Downloads su yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel curl-devel perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker