Show HN: A CLI tool that stores Claude Code chats in your Git repo (github.com)

4 points by jannesblobel ↗ HN
The idea is simple: when working with AI coding assistants, the reasoning behind decisions often disappears once the session ends. Prompts, iterative refinements, and the AI’s explanations, in other words, the context behind why code changes were made is lost.

This CLI tool preserves that context in Git, making Claude code conversations transparent, continuable later, stored alongside code, and shareable with your team via a Git host.

You can test it here: https://github.com/Legit-Control/monorepo/tree/main/examples...

Curious how you handle shareability and persistence of AI conversations, or any ideas for making conversation history more useful and easily shareable.

2 comments

[ 0.30 ms ] story [ 13.5 ms ] thread
Cool concept. (Legit project overall too.) Any chance it expands beyond Claude, e.g. Codex, OpenCode? Also, unless misunderstood those commits happen in currently working branch? If yes, an option to have the code/sessions mix in alternative (not working) branch will be nice too, as not every project would want to fill history with sessions.