1)安装最新版的Git
Installing Required Packages
In order to install Git, you need to ensure that the required packages have been installed on the system. Please key in the following command to install the required packagesbefore you begin compiling the Git source:yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils