git bash update command code example
Example 1: how to update git on windows
C:\> git update-git-for-windows
Example 2: how to update git
git update-git-for-windows
Example 3: git update on linux
apt-get update
apt-get upgrade
apt-get install git
Example 4: git update using git bash
# Since Git 2.16.1(2) you can use
C:\> git update-git-for-windows
#In version between 2.14.2 and 2.16.1, the command was
C:\> git update