Your account password was given at Git's password prompt
CommonGit asked for a username and password for an https:// remote and received the GitHub account password, which GitHub no longer accepts for Git.
Confirm
git remote -v
An https://github.com/… remote
Fix
- Sign in once with the GitHub CLI, which also sets up Git to use it: gh auth login, then choose HTTPS.
- Or create a fine-grained personal access token for the repositories you need and paste it when Git asks for the password.
- Or install Git Credential Manager and let it sign you in through the browser.
gh auth login
Choose GitHub.com and HTTPS, and let it configure Git; then push again.