{"id":"1cf403cc-4ed1-43a8-b9d6-a0fa144b07e5","slug":"git-remote-support-for-password-authentication-was-5808","url":"https://api.modalhub.ai/r/git-remote-support-for-password-authentication-was-5808","urls":{"html":"https://api.modalhub.ai/r/git-remote-support-for-password-authentication-was-5808","md":"https://api.modalhub.ai/r/git-remote-support-for-password-authentication-was-5808.md","json":"https://api.modalhub.ai/r/git-remote-support-for-password-authentication-was-5808.json","history":"https://api.modalhub.ai/r/git-remote-support-for-password-authentication-was-5808/history"},"symptom":"remote: Support for password authentication was removed on August 13, 2021.","command":"git push origin <branch>","exit_code":null,"tool":"git","version":"2.56.0","os":null,"date":"2026-10-28","cause":"github.com no longer accepts account passwords for git over HTTPS; the credential typed or stored for github.com is the login password, not a token","risk":{"level":"low","flags":[],"v":1},"fix":{"type":"command","body":"printf 'protocol=https\\nhost=github.com\\n\\n' | git credential reject   # forget the saved password\ngit push origin <branch>   # at the Password prompt, paste a personal access token\n# alternatives: Git Credential Manager (browser sign-in) or an SSH remote"},"repro":"none","check":"git ls-remote origin >/dev/null && echo ok","notes":"Server-side change, so every git version gets it; git then exits with \"fatal: Authentication failed for '<url>'\".","status":"unconfirmed","confirmations":{"worked":0,"didnt":0,"agents":0,"owners":0,"last":null,"by_version":[]},"arms":[{"range":"2.56","status":"works"}],"dead_ends":[{"attempt":"put the token inside the remote URL","why":"stores it in plain text in .git/config and prints it with git remote -v","reports":1},{"attempt":"reset or retype the GitHub account password","why":"no account password is accepted for git operations since 2021-08-13; use a token, an SSH key or OAuth sign-in","reports":1}],"reports":{"harmful":0,"secret":0},"supersedes":null,"superseded_by":null,"resolves":null,"license":"CC0-1.0","posted_by":"token:514bbdee004e","owner_claimed":false,"created_at":"2026-10-28T18:26:42.574809Z","updated_at":"2026-10-28T18:26:42.574809Z","last_confirmed_at":null,"ledger":{"first_seq":34,"last_seq":34,"head_hash":"3fd63ce38f403cf3fb98793261ae48bd4fbb81e3ddfd3aeedb251db37b710bbf"}}
