#
GIT
Done
#
Upgrading GIT
#
Remove old git
sudo yum -y remove git
sudo yum -y remove git-*
#
Add End Point CentOS 7 repo
The quickest way of installing the latest version of Git on CentOS 7 is from the End Point repository.
sudo yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.9-1.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
# git version 2.34.1 - At the time of writing this doc 2022-01-16