update git in linux code example
Example 1: git update on linux
apt-get update
apt-get upgrade
apt-get install git
Example 2: update git
# For windows use
git update-git-for-windows
# else I guess?
git update
Example 3: 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