Update Git to Latest Version (Ubuntu)

February 18, 2020

I am on Ubuntu 16.04, and it has git version 2.7.4.

Update Git

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

NOTE: If add-apt-repository is not available, run sudo apt-get install python-software-properties software-properties-common

Check Git version

git --version
git version 2.25.0
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.