git version2、安装依赖
yum install openssl-devel zlib-devel perl-ExtUtils-MakeMaker svn tcl perl-Locale-Msgfmt gettext asciidoc xmlto docbook2x3、下载资源
(1)切换到你的包文件存放目录下
cd /usr/local
(2)下载git安装包
wget https://www.kernel.org/pub/software/scm/git/git-2.8.3.tar.gz4、解压git安装包
tar -zxvf git-2.8.3.tar.gz cd git-2.8.3 make configure ./configure --prefix=/usr make all doc make install install-doc install-html
报错信息:fatal: unable to access ‘https://github.com***’: SSL connect error
解决办法:
git config --global http.sslversion tlsv15、查看版本和安装路径
git --version whereis git
参考路径:https://www.cnblogs.com/imyalost/p/8715688.html



