Latest git on Ubuntu
Category : How-to
I have recently been playing around with Git on Ubuntu and noticed that the version in the standard repository is a few versions behind the latest release.
Using the PPA repositories, you can install the latest version of the Git client software without having to build it from scratch.
Make sure you have the python-software-properties package installed.
apt-get install python-software-properties
Then add the repository and install git.
add-apt-repository ppa:git-core/ppa apt-get update apt-get install git
If you already have git installed, you can simply update to the latest version.
apt-get upgrade