Git 2.9 on Ubuntu 16.04

Git version 2.9 has been released and it brings some new features and performance benefits when using git submodules.

Here is how to install Git version 2.9 on the latest release of Ubuntu (16.04)

Installing on Ubuntu

Ubuntu 16.04 comes with Git 2.7.x, which is a little old now. As versions 2.8 & 2.9 are not part of the Ubuntu repositories, you need to add the git-core personal package archive.

Open up a terminal and run the following commands, supplying your password when prompted.

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

To check the new version of Git is working, use the following command:

1
git --version

Whats new?

Rather than copy everything here, there is a very good overview of the Git 2.9 release on the Github blog. Or take a look at the in-depth release notes.

Thank you.
@jr0cket


This work is licensed under a Creative Commons Attribution 4.0 ShareAlike License, including custom images & stylesheets. Permissions beyond the scope of this license may be available at @jr0cket
Creative Commons License