How to install Latest Git ( Git 2.x ) on CentOS 7
- Remove old git
sudo yum -y remove git sudo yum -y remove git-*
- Add End Point CentOS 7 repo
sudo yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
- Once repository is added, install Git 2.x on CentOS 7:
sudo yum install git
- Check git version after installing git2u-all package
git --version