In playing with getting git’s credential helper to work on Windows, I accidentally added multiple helpers to my local config file. It took me a while to figure out where it was stored and how to reset it. I used this command when in the local repo directory.
This Stack Overflow post got me close but was based on the multiple values coming from different versions of the config file. The key was the –unset-all option. This blog post helped explain the different scope of config files.