Installing Git on Cent OS 5
It’s pretty straightforward to install Git on a mediatemple DV 3.0 server. If you have later versions of their servers with Yum installed, you may be able to simply install it through yum.
To begin you need to download the latest version and run through the standard extraction and configure/make/make install.
$ wget http://kernel.org/pub/software/scm/git/git-1.6.4.tar.gz
$ tar -zxvf *.gz
$ cd git*
$ ./configure --prefix=/usr/local
$ make
$ make install
Try entering git into the command line to ensure that everything installed properly.
Turn on command line coloring, very helpful:
$ git config --global color.branch "auto"
$ git config --global color.status "auto"
$ git config --global color.diff "auto"
That’s it!