ShadowGit
ShadowGit automatically versions your code and gives AI assistants access to your history via MCP. - Auto-commits to parallel .shadowgit/ repository - One-click restore to any previous version - MCP server lets Claude/Cursor query your history with git commands - 100% local, no cloud storage
Product Overview
ShadowGit automatically versions a developer’s code changes and provides AI assistants access to that history. It captures every change locally and exposes it through an MCP server so assistants can query what happened in the repository.
The product exists to solve a common AI coding limitation: assistants start each chat from zero and often can’t reference what was done yesterday. ShadowGit gives AI an “extra brain” by letting it search prior changes and by enabling one-click restore to earlier versions when an AI suggestion breaks code, all without sending code to the cloud.
Key features
- Auto-commits changes to a parallel .shadowgit/ repository
- One-click restore to any previous version captured by ShadowGit
- Runs an MCP server that lets AI assistants query code history using git commands
- Captures every change automatically so AI can reference what changed
- 100% local operation with no cloud storage for code history
How ShadowGit works
- 1
Install and initialize ShadowGit
Set up ShadowGit so it begins tracking changes and writing snapshots to the parallel .shadowgit/ repository.
- 2
Use AI with history access
Connect an AI assistant to the MCP server so it can query the saved code history using git commands.
- 3
Restore when edits break
Select a previous version and restore one click to undo an AI-driven change and continue safely.
Use cases
- An engineer iterates on a feature with an AI assistant and wants to quickly roll back when a suggested edit breaks the build—ShadowGit restores the last known good version in one click.
- A developer repeatedly asks an assistant “what changed” across sessions; ShadowGit enables the assistant to search the saved code history instead of starting from zero.
- A team debugging a regression uses the AI to locate the exact line where a bug was introduced by querying prior commits and diffs from the local history.
Who is it for?
ShadowGit is for developers who use AI coding assistants (such as Claude/Cursor) and need reliable code context across chats. It’s also useful for anyone who wants local, automatic versioning and quick rollback while experimenting with AI-generated changes.