I'm currently on ubuntu 12.04 and since this is an older version of ubuntu i have git 1.7.9.5 installed and i'm not sure how i can upgrade this to git 2.x.
- what do i type to install git 2.x (sudo apt-get install git)?
- when installing git 2.x, does it overwrite git 1.7? if not how do you choose which one to use?
- how do i find out where git 1.7 is installed on my system?
sudo apt-get install software-properties-common
forapt-add-repository
to work. – Rob Sanders Sep 27 '16 at 14:26