I have version 2.5 of Git on Ubuntu:$ git --versiongit version 2.5.0but Git is at version 2.7.1 now.  The Git website says to doapt-get install gitto install it.  But I tried both sudo apt-get install git and sudo apt-get upgrade git and it is still version 2.5.  How do I upgrade it to the latest version?
How to install the latest version of Git on Ubuntu?
ubuntu;git