HOW TO: Fix git fatal: Authentication failed (Windows Git Bash)

Опубликовано: 16 Март 2026
на канале: chinamatt
128,456
1.2k

How to fix git fatal: Authentication failed (Windows 10 Git Bash)?
• Git push and you get, fatal: Authentication failed for …
• Open windows search
• Type ‘Credentials’
• Click ‘Manage Windows Credentials’
• Remove the one with git.
• Go to your github profile
• Click on profile picture on top right, and click Settings
• Click ‘Developer settings’
• Click ‘Personal access tokens’
• ‘Generate new token’
• Type ‘my access token’
• Check ‘repo’
• Copy it
• Git push again
• Enter credentials
• Done.
• Resources:
Github tutorial: https://docs.github.com/en/free-pro-t...