How To Install The Latest Git On Ubuntu 14.04
Last edited: 03 June/2014
This tutorial explains the process of installing Git on Ubuntu 14.04. For the uninitiated, Git, the client for the immensely popular GitHub, is a commonly used open source distributed version control system that was originally developed by Linus Torvalds with the objective of supporting Linux Kernel development. Each Git working directory acts like a full-fledged repository, replete with complete history and capabilities for full version tracking, sans any dependence on central server/network access. While the latest version of Git, which is Git 2.0.0, is unavailable via the default repositories of Ubuntu and derivates, thanks to its availability via PPA, installing Git 2.0.0 on common platforms like Pear OS, Elementary OS, Ubuntu and Linux Mint is an absolute cinch. As listed below, all users need to do is simply:
Installationadd the PPA to the local index:
sudo add-apt-repository ppa:git-core/ppaupdate the local repository index
sudo apt-get update
and lastly install the git package.
sudo apt-get install git