There is another possibility that in .gitconfig, there is a user configuration for another account (in my case, my corporate account instead of the personal one); just make sure that user has ownership of the inputted access token.