Installation command:
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
Uninstall Git 2.2 command:
sudo apt-get remove git
Installation command:
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
Uninstall Git 2.2 command:
sudo apt-get remove git