How to update/upgrade the git version in Windows OS?

There are different ways to upgrade the git version on Windows and this depends upon your current git version.

Check your current 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:

Git version is equal to or greater than Git 2.16.1(2):