移除久的git
sudo yum -y remove git
添加repository
sudo yum install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
安装新的git
sudo yum -y install git