According to the gitcredentials documentation:
Without any credential helpers defined, Git will try the following strategies to ask the user for usernames and passwords:
If the GIT_ASKPASS environment variable is set, the program specified by the variable is invoked. A suitable prompt is provided to the program on the command line, and the user’s input is read from its standard output.
Otherwise, if the core.askPass configuration variable is set, its value is used as above.
Otherwise, if the SSH_ASKPASS environment variable is set, its value is used as above.
Otherwise, the user is prompted on the terminal.
Thus, to force option 4 to take effect, you need to ensure that the three other values are not set.
For 1 and 3, you should be able to do e.g. SSH_ASKPASS=''. (To automate this, add that line to C:\Users\<user>\.bashrc.) For 2, do git config --unset-all core.askPass.
As you can tell from the first line of the quote, this only applies if you don't have any credential helpers defined. If you do, then you can unset them as described in EdwardThomson's answer.