If someone checking in 2021, this works fine;
git update-git-for-windows
This will download the latest version of git. After that a window will open which asks for installing new version of git. Install that and you are done. To check the version of the git on your computer;
git --version