step 1
wget https://www.kernel.org/pub/software/scm/git/git-2.14.2.tar.gz
step 2
tar -xzf git-2.14.2.tar.gz
step 3 install dependenty
yum install gettext
yum install curl-devel
yum install perl-devel
yum install zlib-devel
step 4 compile
cd git-2.14.2 & ./configure & make && make install