You can follow the given steps to install git.
server # wget http://git-core.googlecode.com/files/git-1.7.8.4.tar.gz
server # ./configure
server # make
server # make install
Once this is completed without any errors, git will be working fine on your server.
Errors:
===================
GITGUI_VERSION = 0.14.0.13.g843d65
* new locations or Tcl/Tk interpreter
GEN git-gui
INDEX lib/
* tclsh failed; using unoptimized loading
MSGFMT po/de.msg make[1]: *** [po/de.msg] Error 127
======================
During make, you may get the above error.
Fix : You need to install gettext
server # yum install gettext