How to install git in CentOS 7

What is Git?

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Installing GIT:

The simplest way to install git is using CentOS’s own YUM package manager and you won’t need any prerequisites for this installation which is nice. 

1. Login with root credentials.

2. Use YUM to install it using

yum install git

3.  The installation will handle itself automatically, just hit ‘y‘ when prompted.

4. Once GIT is installed you can check the version using

git --version