Sometimes, depending on the git server you are using to clone a repository, Windows could ask for a password but not for the username. If you need to force a different username you can simply run the terminal and type:
git config --local credential.username "My Name"
In this way the username is not required anymore and you have only to type the password.
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.