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
This error appears when you are using multiple Git accounts on the same machine.
If you are using macOS then you can remove the saved credentials of github.com.
Please follow below steps to remove the github.com credentials.
Done