Git is an open source software used for version control.
Before installing Git, it is important to set the environment and dependencies. The following command will install all the dependencies needed for Git.
# yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel...