Upgrading Git on Windows
To upgrade Git on your Windows machine, you must download and install the newer version on top of the existing, already-installed version. Follow the instructions on Installing Git on Windows. The steps are exactly the same.
Once your installation is complete, check the version by using this command:
git version
You can also use this command to check the version you have installed before you do the upgrade.