Here is how to install Git version 2.9 on the latest release of Ubuntu (16.04)
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.
sudo add-apt-repository ppa:git-core/ppa
To check the new version of Git is working, use the following command:
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