rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm#然后就是yum install git --disablerepo=* --enablerepo=epel #启用epel的repository#然后:git --versiongit version 1.5.5.6 #返回git的版本号就表示安装好了