git-2.8.0版本,用unzip解压unzipgit-2.8.0.zipcdgit-2.8.0将其安装在“/usr/local/git”目录下。makeprefix=/usr/local/gitallmakeprefix=/usr/local/gitinstall修改环境变量vi/etc/profileexportPATH=/usr/local/git/bin:$PATHsource/etc/profile查看版本git--version