Although we assume that git is already installed by running a yum/apt-get install git it will return the below and then move on to the next bit;

Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version.