GIT内网部署[CentOS7]
yum -y install gcc automake autoconf libtool make curl-devel expat-devel openssl-devel
cd /usr/local/src
wget --no-check-certificate https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.24.1.tar.gz
tar -xzvf git-2.24.1.tar.gz -C /usr/local/src/
cd /usr/local/src/git-2.24.1
make prefix=/usr/local/git-2.24.1 all
make prefix=/usr/local/git-2.24.1 install
vim /etc/profile
export PATH=$PATH:/usr/local/git-2.24.1/bin
source /etc/profile
git --version
git version 2.24.1