Install Latest Git ( Git 2.x ) on CentOS 7

Start by checking installed version of git on your CentOS 7 server.

$ git --version
git version 1.8.3.1

Install Latest git on CentOS 7 from End Point repository

sudo yum -y remove git
sudo yum -y remove git-*

Add End Point CentOS 7 repo

sudo yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.9-1.x86_64.rpm
sudo yum install git

Check git version after installing git2u-all package

$ git --version
git version 2.30.1