Skip to content

Instantly share code, notes, and snippets.

@CristianLlanos
Created October 2, 2016 00:17
Show Gist options
  • Save CristianLlanos/592d51c68b6c9c69583eec5570a5fb53 to your computer and use it in GitHub Desktop.
Save CristianLlanos/592d51c68b6c9c69583eec5570a5fb53 to your computer and use it in GitHub Desktop.
Latest Git version for Ubuntu

You need to add the Git Maintainers repository in order to get the latest Git version.

Please run these commands in order:

sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git

Then, check the version of the installed Git:

git --version

It's not always necessary to remove the existing Git before upgrading it, but if you run into any problems, do the following and then repeat the steps mentioned above:

sudo apt-get remove git

Resource

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment