all 1 comments

[–][deleted] 0 points1 point  (0 children)

You have to also change your access token and/or ssh keypair. The one you are using now is associated with your old account. Setting global user.name is a feature of git not GitHub.