one, the installation of Git
1. On the Windows side
To address: https://git-scm.com/downloads
Select the corresponding version of the download, the installation can be a fool
2. On the Linux side
Check to see if Git is installed, which is not installed
If it is not already installed, download the installation package
wget https://www.kernel.org/pub/software/scm/git/git-2.8.3.tar.gz
Then unzip the package and switch to the GIT package
TAR-ZXVF Git-2.8.3.tar. gzcd git-2.8.3
Configure the path of a git installation
./configure prefix=/usr/local/git/
Compiling and installing
Make && make install
If the following error occurs
CC Credential-store. file included from credential-store.c:1:0:cachefile# Include <zlib.h> ^compilation terminated. Make: * * * [CREDENTIAL-STORE.O] Error 1
If the installation tool is missing, first use the Yum installation tool
Yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
Yum Install gcc perl-extutils-makemaker
That is, you can compile the installation to check if the installation was successful
Git--version
If it appears that the installation was successful
Install Git on the Windows and Linux side