git --version
vi /etc/yum.repos.d/wandisco-git.repo
[wandisco-git]
name=Wandisco GIT Repository
baseurl=http://opensource.wandisco.com/centos/7/git/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
[wandisco-git]
name=Wandisco GIT Repository
baseurl=https://cors.eu.org/opensource.wandisco.com/centos/7/git/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://cors.eu.org/opensource.wandisco.com/RPM-GPG-KEY-WANdisco
rpm --import http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
yum install git
https://www.cnblogs.com/mrbug/p/12030777.html