I\'m working with several repositories, but lately I was just working in our internal one and all was great.
Today I had to commit and push code into other one, but
If your credentials are stored in the credential helper (generally the case), the portable way to remove a password persisted for a specific host is to call git credential reject:
in one line:
$ echo "url=https://appharbor.com" | git credential reject
or interactively:
$ git credential reject
protocol=https
host=gitlab.com
username=me@example.com
↵
After that, to enter your new password, type git fetch.
https://git-scm.com/docs/git-credential