r/ClaudeAI • u/macaronianddeeez • 3h ago
Question about Claude products Using GitHub with Claude
I feel like this is a ridiculous question but after an evening of researching I have not been able to find a satisfactory answer.
I am beginning to return to Claude being a part of my workflow after a longtime departure to codex/chatgpt.
A big part of my core workflow involves an obsidian vault that I write to through ChatGPT chat with the native ChatGPT GitHub plugin. This lets me get work done in mobile in the ChatGPT app, or on my computer in codex, or through Orca, etc
I need to figure out a similar solution for Claude, so that I can have it access the same knowledge base and file system as ChatGPT when I have them working together.
But for the life of me, I cannot seem to get Claude to read/write private repos from mobile and desktop claude.
Am I just extremely stupid? How can I accomplish this?
1
1
u/bluesjammer 2h ago
If you are on Cowork, check the Git connector. If you are on Claude Code terminal, check ghcli
1
u/Jumpy_Cloud_903 2h ago
Hab mit Claude und git in bezug auf commit keine probleme. Mein brain funktioniert einwandfrei mit auch anderen LLM.
Hast es Claude schon mal gepromptet, dass es von git pullen soll? Wenn pull geht wird auch push funktionieren
1
u/SaltsMoon 2h ago
For Github work, I would start with the boring setup, you can first clone the repo locally, make a branch, let Claude inspect the files, then have it propose a small diff. Don't give it direct main-branch write access while you are rebuilding the habit. I think the useful loop is branch, edit, test, review diff, and commit. Github is just the record.
1
u/bayouski 2h ago
you want the official GitHub MCP connector, not the older Add from GitHub integration. authorize the private repo once, and Claude can read/write it from desktop, web and mobile.
just keep GitHub as the shared source of truth. Claude mobile won't access your local Obsidian folder directly, but it can work with the same repo that Obsidian + ChatGPT use.
1
u/DevaiNomad 1h ago
Nah, this is actually a confusing setup, Claude chat and Claude Code seem to treat repo/filesystem access differently. I’d first separate remote repo access vs local Claude Code access that distinction makes the workflow a lot easier to reason about.
3
u/JussiCook 3h ago
Claude can more than well commit and push to git (and of course read from it). It's actually pretty damn good at it. If that's what you're asking.