Git Fetch 403 Error on Private Repositories β Pitfalls of URL-Embedded PAT and Solutions
lin-yuchen2026.07.11
- β’ Explains why git push succeeds but git fetch origin returns 403 on GitHub Organization private repositories
- β’ Root cause is asymmetric configuration: PAT-embedded URL for push vs unauthenticated origin for fetch
- β’ Solution: use $AUTHED_ORIGIN consistently across all git operations and manage PAT securely via 1Password
