Git is a widely-used source code management system for software development. Version control systems like Git allow you to keep track of your software at the source level. You can track changes, revert to previous stages, and branch off from the base code to create alternative versions of files and directories.
To be able to install Git you need to have the sudo privilege.
We will use yum package manager, to search for and install the latest git package available.
sudo yum install git
git --version
<code langs="">git config --global user.name "Your Name"
git config --global user.email "[email protected]"
[root@aodba]# git config --list
user.name=XXXXX
user.email=XXXXXXXXXXX