如何在CentOS 7系统上安装最新版本的git
1. 安装WANDisco仓储包
sudo yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
2. 安装git
sudo yum install git
3.验证版本
git --version
参考:https://stackoverflow.com/questions/21820715/how-to-install-latest-version-of-git-on-centos-7-x-6-x