fatal: unable to access 'https://github.com/SOME_NAME/SOME_PROJECT.git/': The requested URL returned error: 403
<pre><code> git push
 remote: Permission to newGithubAccount/newGithubAccountProject.git denied to myOldGithubAccount.
 fatal: unable to access 'https://github.com/newGithubAccount/newGithubAccountProject.git/': The requested URL returned error: 403
</code></pre>

<p>I got the 403 error, I know it's that incorrect access was found, and the error message clearly shows me why:
Because my     git push was using my previous github account's credentials, however, I've updated my git global config and generated new <code>.ssh/id_rsa</code> and added the ssh key into my new github account.
But still this error persists, I've searched extensively on this site and on Github.help page, but still no luck, please help.</p>

<p>I think I need to somehow completely clear my cache for the previous github account or delete it, then I could access github with my new account.
Or else ways, please advise!
Thanks a lot!</p>