How do I disable Git Credential Manager for Windows?

bash, git

Solution

OK, I discovered that you need to either avoid checking the "Git Credential Manager" checkbox during the Git for Windows installer, or (after installation) run the Bash shell as Administrator and use `git config --edit --system` to remove the `helper = manager` line so that it is no longer registered as a credential helper.

For bonus points, use `git config --edit --global` and insert:

[core]
    askpass =

To disable the OpenSSH credentials popup too.

Problem

I notice that in the latest version of Git, the default is now to popup a "Git Credential Manager for Windows" dialog instead of prompting me for me password at the Bash prompt every time. I really hate this behaviour. How can I just disable it and go back to entering the password at the Bash shell every time? By the way, I don't want Git caching my credentials in any way, whether through Windows credentials or some internal daemon. I want to disable all credential caching.

Original source

Related problems