1. Install git yum install git
- View the Git information in the yum repository
yum info git
- Installing dependent libraries
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel yum install gcc-c++ perl-ExtUtils-MakeMaker
- If the original Git version is too old, remove the old git version installed by default
Git –version yum yum remove git ##