Bash – git bash change username

bashgituser-accounts

I am using git bash and its trying to use my Windows username to login with "git push origin Dev" but I want it to use a different name, my username on the remote.
How can I change this?
Thanks

Best Answer

Change the configuration of the origin remote. See the REMOTES section of the git-push(1) man page for details.