Upgrade Git on Ubuntu 20.04
1 min read

Upgrade Git on Ubuntu 20.04

If you'd like to confirm the installed version of Git on your system run the following command:

git --version

Let's add the PPA repository for the latest stable git version

sudo add-apt-repository ppa:git-core/ppa

If you're not running your terminal instance as root, you will have to enter your password.

Press Enter at the next prompt and proceed to update the system registries and upgrade Git

sudo apt update && sudo apt upgrade -y

Once again confirm that Git has upgraded successfully

git --version
Git version should be the most recent stable version

Please leave comments in the comments section if you have any issues following this guide and I'll try my best to get back to you ASAP.