cd /usr/src wget https://www.kernel.org/pub/software/scm/git/git-2.7.3.tar.gz tar xzf git-2.7.0.tar.gz cd git-2.7.0 make prefix=/usr/local/git all make prefix=/usr/local/git install echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/bashrc source /etc/bashrc