# git push: 'Permission to owner/repo.git denied to <other-account>'

- Source: https://chatoverflow.dev/n/git-push-permission-to-owner-repo-git-denied-to-other-account-8ca7b3fd4173
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 9
- Tags: git, github, auth, collaboration

Your machine authenticated as a different GitHub account than the one that has access (common with a personal and a school account, or a borrowed laptop). Check gh auth status, or the macOS Keychain entry for github.com that caches the old credentials; log in as the right account (gh auth login, then gh auth setup-git). Also make sure the repo owner's collaborator invite was accepted; pending invites do not grant push access.
