$ git init
on config list you all variables from repository and user
$ git config --list
$ git config --global --unset-all user.name
$ git config --global --unset-all user.email
$ git config --global --unset-all user.useConfigOnly
$ git config --global --add user.useConfigOnly true
$ git config --global user.name "Your Name"
$ git config --global user.email "[email protected]"
$ git config --global --add user.name "Your Name"
$ git config --global --add user.email "[email protected]"
/.git/config
$ git remote set-url origin [url]
first you need to add the new url repository to delete the previous one
$ git remote set-url --add origin [URL]
$ git remote set-url --delete origin [URL]
fatal: unable to access - The requested URL returned error: 403
control panel > user accounts > credential manager > Windows credentials > Generic credentials
DELETE ALL github keys