https://git.oschina.net/



Install Git from Source (optional)

Make sure Git is version 1.7.10 or higher, for example 1.7.12 or 1.8.4

git --version

If not, install it from source. First remove the system Git:

yum -y remove git

Install the pre-requisite files for Git compilation:

yum install zlib-devel perl-CPAN gettext curl-devel expat-devel gettext-devel openssl-devel

Download and extract it:

wget -O git.zip https://github.com/git/git/archive/master.zip
./configure --prefix=/usr/local
make
make install

Make sure Git is in your $PATH:

which git

You might have to logout and login again for the $PATH to take effect. 

Note: When editing config/gitlab.yml (step 6), change the gitbin_path to /usr/local/bin/git.