[BUG] Unable to push to my repo from claude code web.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Summary
The GitHub integration connector in Claude settings completes OAuth
authorization but never triggers the GitHub App installation
step, so repository write access (Contents: Read & write) is never
granted. This blocks Claude Code (web/remote sessions) from pushing
commits to a user's repos even though the session reports those repos
as "in scope."
Environment
Product: Claude Code on the web / remote execution session
Affected connector: Settings → Connectors → "GitHub Integration"
GitHub account: personal account (not an org)
Session had two repos pre-scoped as sources: both freshly created,
fully empty (no commits/branches yet)
Actual behavior
Reconnecting only re-adds "Claude" to the GitHub Authorized OAuth
Apps list. It never surfaces GitHub's App-installation /
repository-picker screen.
The GitHub App itself remains uninstalled on the account (confirmed
via the app's own authorization page: "Claude has not been installed
on any accounts you have access to").
As a result, all repository write operations fail, while read
operations succeed:
Impact
Any Claude Code web/remote session whose GitHub App installation is in
this stuck state can browse/read repos (and the session setup even
lists them as valid "sources") but can never actually commit or push,
with no actionable in-product path to fix it — the only connector
control available is Disconnect, which just repeats the same broken
OAuth-only reconnect.
Suggested fix
Make the Connectors → GitHub Integration "connect/reconnect" flow
explicitly route through GitHub's App installation URL (the
repository-picker step), not just the OAuth authorize consent
screen, so users can't end up authorized-but-not-installed.
Alternatively, detect this specific state (OAuth authorized, App not
installed) and surface an explicit in-product error/CTA instead of
showing the connector as fully "connected" with a green check.
What Should Happen?
Expected behavior
Reconnecting the GitHub Integration connector should walk the user
through the full GitHub App flow: OAuth authorize and app
install/repository selection (the picker where you choose "All
repositories" or specific repos, and grant Contents: Read & write).
After that, Claude Code should be able to push commits/branches to the
selected repos.
Error Messages/Logs
`mcp__github__create_or_update_file` → `403 Resource not accessible by integration` on
`PUT /repos/<owner>/<repo>/contents/<path>`
`mcp__github__push_files` → same 403, `failed to initialize repository: failed to create initial file`
Direct `git push` through the session's local git credential proxy
(`http://127.0.0.1:<port>/git/...`) → `403` as well
By contrast, `git clone` of the same (empty) repo, and
`mcp__github__list_branches` / `get_file_contents`, all succeed —
confirming this is a write-permission gap, not a connectivity or
proxy issue (the session's agent-proxy status endpoint showed no
recorded egress-policy denials either).
Steps to Reproduce
Steps to reproduce
Start a Claude Code on the web session with a GitHub repo (or repos)
attached as sources.
Ask Claude to push a commit to one of the repos on a feature branch.
Observe the push fail.
In Claude Settings → Connectors, open "GitHub Integration" — it
shows as connected (green checkmark), with only a Disconnect
button, no repository-access management link.
Click Disconnect, then Add → reconnect GitHub.
Complete the GitHub OAuth consent screen.
Check github.com/settings/connections/applications (Authorized
OAuth Apps) — "Claude" is listed there, authorized.
Check github.com/settings/installations (Installed GitHub Apps) —
"Claude" does not appear (or shows "never used" / "not
installed on any accounts you have access to" on the app's own
authorization page).
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.211 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_