git version
Then follow the case according to your git version
1. If your git version is 2.14.1 or earlier:
Uninstall the git, download the latest git, and install it again.
2. And versions between 2.14.2 and 2.16.1:
git update
3. If the version is equal to or greater than Git 2.16.1(2):
git update-git-for-windows