git push

i am trying to push from local repo to remote and getting follwing error

remote: Permission to santoshkrgupta/FirstGIT.git denied to santoshg1985.
fatal: unable to access ‘’: The r equested URL returned error: 403

The first thing you should do when you install Git is to set your user name and email address, you can easily do with those commands:
$ git config --global “Your username”
$ git config --global “

you have to go to your windows box and check for credentials manager

remove the password for the old github repository

and try again push new repo it will work