Hello Linux Geeksters. As you may know, Git is an open-source revision control system. The latest version available is Git 2.0, which has been recently released. Among others, it comes with some new sub-commands, git push now uses the simple mode as default, some performance improvements have been implemented and an important number of bugs have been squashed.
In this article I will show you how to install Git 2.0 on Ubuntu 14.04 Trusty Tahr, Ubuntu 13.10 Saucy Salamander, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Linux Mint 16 Petra, Linux Mint 13 Maya, Pinguy OS 14.04, Pinguy OS 12.04, Elementary OS 0.3 Isis and Elementary OS 0.2 Luna.
Because it is available via PPA, installing Git 2.0 on Ubuntu, Linux Mint and Elementary OS is easy. All you have to do is add the ppa to your system, update the local repository index and install the git package. Like this:
$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt-get update
$ sudo apt-get install git
Optional, to remove Git 2.0, do:
$ sudo apt-get remove git