I saw a toot from Michael Kennedy, host of @talkpython sharing a post from the github.blog announcing a Git security vulnerability.
Here’s how to update Git on Windows 10 and Ubuntu ►
- Windows 10
command:git update-git-for-windows
source: How to Upgrade git to the Latest Version on Windows
The article also explains how to update an older version of git on your Windows 10 machine or — if you don’t already have Git for Windows — how to install it 👍 - Ubuntu
A freshly installed Ubuntu will have Git but not the latest Git. To get the latest Git you need to add the Personal Package Archive (PPA) for it ►sudo add-apt-repository ppa:git-core/ppa
and then update & install ►sudo apt update
sudo apt install git
If you already have the PPA added and you just need to get the latest version then ►sudo apt update
sudo apt upgrade
source: Download for Linux and Unix
I use choco on Windows and occasionally I just run choco upgrade all (or choco upgrade git).
Nice tip tho!
ah yes, Chocolatey. It’s far and few in between when I’ve used it but it is pretty handy ^_^