Update git from 1.8.3.1 to 2.x on CentOS 7:

git --version # when it was 1.8.3.1
yum remove -y git
yum remove -y git-*
yum install -y https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
yum install -y git
git --version # it should be 2.x