← Back to Product Feed

Hacker News Show HN: Ccgs – Collaborative Claude Code sessions, stored in Git branches

Solves the problem of Claude Code sessions being 'trapped' locally and unshareable, enabling colleagues to share and resume AI-assisted development sessions via Git orphan branches.

6
Traction Score
2
Discussions
Jun 7, 2026
Launch Date
View Origin Link

Product Positioning & Context

AI Executive Synthesis
Solves the problem of Claude Code sessions being 'trapped' locally and unshareable, enabling colleagues to share and resume AI-assisted development sessions via Git orphan branches.
Ccgs addresses a critical collaboration and knowledge management gap emerging from the widespread adoption of AI coding assistants like Claude Code. By enabling Git-based sharing and persistence of AI interaction sessions, it transforms ephemeral local artifacts into shareable, version-controlled assets. This directly enhances team productivity by allowing developers to resume complex AI-assisted debugging or development tasks initiated by colleagues. The careful handling of absolute paths and Git plumbing ensures non-disruptive integration into existing workflows. This product highlights the evolving need for infrastructure to manage and collaborate on AI-generated or AI-assisted work, particularly in sensitive enterprise environments where session content may contain proprietary information.
My team uses Claude Code daily, and the sessions have become some of the most useful artifacts we produce. But they're trapped in ~/.claude/projects/ on whichever laptop they happened on. There's no good way to hand a colleague "the session where I untangled the migration" so they can claude --resume it and keep going from where I left off.
Enter ccgs: Share Claude Code sessions through an orphan branch (@ccgs/) in your existing repo's remote- Session files carry the author's absolute paths. On pull, ccgs rewrites the working dir back to your path so resume actually works — surgically editing only the structural cwd field, not a blind find-and-replace that would happily corrupt the transcript.- Everything goes through git plumbing (hash-object/commit-tree/update-ref) against a throwaway index. It never touches your working tree, index, or current branch, and it's fine with a dirty tree. It will not git checkout something behind your back.To try it without installing: `npx claude-git-sessions`. This also incidentally allows you to move a directory and carry the claude code transcripts with it (just push first, then move the directory, then pull)IMPORTANT CAVEAT: Unless you have a very good security hygiene, your Claude Code sessions are likely full of sensitive information such as environment secrets. Use with caution and avoid using on public repositories. Branches used by ccgs are prefixed by `@ccgs/` so you can easily filter them out.This project was written by and with Claude Code. This Show HN was not.(Reposted with URL fixed)
Claude Code sessions Git branches orphan branch repo's remote absolute paths working dir cwd field git plumbing

Related Ecosystem & Alternatives

Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.

Deep-Dive FAQs

What is Ccgs – Collaborative Claude Code sessions, stored in Git branches?
Ccgs – Collaborative Claude Code sessions, stored in Git branches is analyzed by our AI as: Solves the problem of Claude Code sessions being 'trapped' locally and unshareable, enabling colleagues to share and resume AI-assisted development sessions via Git orphan branches.. It focuses on Ccgs addresses a critical collaboration and knowledge management gap emerging from the widespread adoption of AI coding assistants like Claude Code...
Where did Ccgs – Collaborative Claude Code sessions, stored in Git branches originate?
Data for Ccgs – Collaborative Claude Code sessions, stored in Git branches was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Ccgs – Collaborative Claude Code sessions, stored in Git branches publicly launched?
The initial public indexing or launch date for Ccgs – Collaborative Claude Code sessions, stored in Git branches within our tracked developer communities was recorded on June 7, 2026.
How popular is Ccgs – Collaborative Claude Code sessions, stored in Git branches?
Ccgs – Collaborative Claude Code sessions, stored in Git branches has achieved measurable traction, logging over 6 traction score and facilitating 2 recorded discussions or engagements.
Which technical categories define Ccgs – Collaborative Claude Code sessions, stored in Git branches?
Based on metadata extraction, Ccgs – Collaborative Claude Code sessions, stored in Git branches is categorized under topics such as: Claude Code sessions, Git branches, orphan branch, repo's remote.
How does the creator describe Ccgs – Collaborative Claude Code sessions, stored in Git branches?
The original author or development team describes the product as follows: "My team uses Claude Code daily, and the sessions have become some of the most useful artifacts we produce. But they're trapped in ~/.claude/projects/ on whichever laptop they happened on. There's n..."

Community Voice & Feedback

No active discussions extracted yet.

Discovery Source

Hacker News Hacker News

Aggregated via automated community intelligence tracking.

Tech Stack Dependencies

No direct open-source NPM package mentions detected in the product documentation.

Media Tractions & Mentions

No mainstream media stories specifically mentioning this product name have been intercepted yet.

Deep Research & Science

No direct peer-reviewed scientific literature matched with this product's architecture.