1.) Run sudo apt-get install git
It should install fairly quickly.
pi@raspberrypi ~ $ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
git set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Next, check the version of git just to be sure.
pi@raspberrypi ~ $ git --version
git version 1.7.10.4
pi@raspberrypi ~ $
Licensed under: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)