I'm working for a team right now in Android Studio, and am currently signed into another team member's Github account. I needed to push to a repo from Intellij, and in the moment it was easier for the member who owned it to sign in and use his account, than to add mine to the repository. Now, I need to push to my own repo, and can't, because I'm still (somewhere) signed into my teammate's account. I have tried using the terminal to change user.name and user.email, to no avail. He was the first to ever sign in on this computer, and I'm still getting a 403 error so where do I go from here? Is there a way to sign him out?
EDIT: For future reference, the link provided by @VonC about removing the account solved the issue.