Centos 6.5 is installed by default in the Git 1.7.X version, there will be some strange problems during the use of the user name, password support is not very friendly.
Update git on Centos6.5 to 2.0.5 by doing the following:
1. Install the package you need to compile Git
# yum Install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
# yum Install gcc Perl-extutils-makemaker
2. Delete existing Git
# yum Remove git
3. Download git source code
# CD/USR/SRC
# wget https://www.kernel.org/pub/software/scm/git/git-2.0.5.tar.gz
# tar Xzf git-2.0.5.tar.gz
4. Compiling the installation
# CD git-2.0.5
# Make Prefix=/usr/local/git All
# Make Prefix=/usr/local/git Install
# echo "Export path= $PATH:/usr/local/git/bin" >>/ETC/BASHRC
# SOURCE/ETC/BASHRC
5. Check the version number
# git--version
git version 2.0.5
CentOS Install (update) git (pro-test active)