Reason for the error: You have logged in to other users on the git client before, and you used the previous user when you pushed with another account
Solution: delete the previous user and log in again with the user you want to push
Solution steps:
Open the control panel --> view by large icons --> then open the credential manager
Find the github related options and delete them. Re-git push can solve the problem