这是git的文件目录,大家可以看一看

https://opensource.wandisco.com/centos/7/git/x86_64/

执行命令1:

yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm

执行命令2:

yum -y install git

执行命令3:

git version

得到:git version 2.31.1