I was trying to install git on one of my servers that is running CPanel but it kept giving me errors about dependancies due to CPanel/WHM. I was finally able to install Git by using the following command.