Because the GIT version of CentOS is too low, there will be problems such as timeout when connecting to the remote warehouse during use, so you need to upgrade the GIT version.
Check git version
yum remove git*
Install the latest version
yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm yum install git