Chaning yum install git to work properly.