Method:
sudo yum update
sudo yum install curl-devel expat-devel gettext-devel openssl-devel perl-devel zlib-devel
sudo yum install asciidoc xmlto docbook2X
sudo yum install gcc autoconf
sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi
wget https://github.com/git/git/archive/v2.8.4.zip
sudo unzip v2.8.4.zip
cd git-2.8.4
sudo make configure
sudo ./configure --prefix=/usr
sudo make all doc info
sudo make install install-doc install-html install-info
[Getting Started - Installing Git] (https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
[is it possible to install git 2.8 on amazon linux AMI?] (https://www.reddit.com/r/aws/comments/4ndaoz/is_it_possible_to_install_git_28_on_amazon_linux/)
[AWS Linux AMI hvm-2016.03.2.x86_64-gp2 (ami-f303fb93)] (amzn-ami-hvm-2016.03.2.x86_64-gp2 (ami-f303fb93))