Installing the latest version of git on Ubuntu
I was reading about the latest git security issue
this evening when I realized that upgrading the Windows version of git
using
Chocolatey gave me a much newer version than the
Ubuntu version on WSL.
C:\>git --version
git version 2.30.2.windows.1
I found this description of how to
Install latest Git on Ubuntu-based Linux distributions
by adding a new Personal Package Archive (PPA) to your apt repository list that
tracks the latest version of git
.
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
Now I have the latest version installed.
$ git --version
git version 2.30.2