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
The previous remote is configured to use the HTTP protocol. You can use the
set-url remote command to update your remote to use the SSH based protocol.
git remote set-url origin email@example.com:newGithubAccount/newGithubAccountProject.git