NullReferenceException in Windows With Git Fetch or Pull
Learn how to solve the problem of a NullReferenceException or other error when trying to git fetch or pull.
Join the DZone community and get the full member experience.Join For Free
after updating git to newer 2.19.1. for windows, you might not be able to use the credential manager anymore. whenever you git fetch or pull, you'll get a nullreferenceexception and/or the error " unable to read askpass response from 'c:/program files/git/mingw64/libexec/git-core/git-gui-askpass'"
clearing windows credential manager does not solve the problem; you still have the same error even if you clone the repo again in another folder. to fix this, you can simply download and install the newest version of the git credential manager for windows. you can find everything at this address.
download page for release of git credential manager for windows.
just install the newest version and the problem should be solved.
Published at DZone with permission of Ricci Gian Maria, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.