Updating GIT to the latest version in Ubuntu - droboports/droboports.github.io GitHub Wiki
- Make sure
add-apt-repository
is installed - Add the
ppa:git-core/ppa
repository (see https://launchpad.net/~git-core/+archive/ubuntu/ppa) - Update and install the latest version of git.
Command summary:
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git