There are different ways to upgrade the git version on Windows and this depends upon your current git version.
Check your current git version:
1 2 |
## get current git version git --version |
Git version is 2.14.1 or earlier:
Uninstall Git, download the latest Git, and install it again.
Git version between 2.14.2 and 2.16.1:
1 2 |
## update git git update |
Git version is equal to or greater than Git 2.16.1(2):
1 2 |
## update git git update-git-for-windows |