Update your Git!

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

2 comments

Leave a comment

Your email address will not be published. Required fields are marked *