Git for AI context management - Track, version, and manage AI thoughts, decisions, and context alongside your code.
- 🌿 Branch contexts - Different AI contexts for different features
- 📝 Commit thoughts - Save OTA (Overthinking Analysis) logs
- 🔀 Smart merging - Squash detailed logs into summaries
- 🤖 Multiple LLM providers - OpenAI, Anthropic, Ollama, DeepSeek
- 🎯 Decision tracking - Record key decisions and rejected alternatives
- 🔗 Git integration - Works alongside your existing Git workflow
- 🖥️ Beautiful CLI - Rich terminal output with colors and tables
- 🐍 Python API - Use programmatically in your scripts
# From PyPI
pip install gitcontext
# With specific LLM support
pip install "gitcontext[openai]" # OpenAI support
pip install "gitcontext[anthropic]" # Anthropic support
pip install "gitcontext[ollama]" # Ollama support
pip install "gitcontext[all]" # All providers
# From source
git clone https://github.com/yourname/gitcontext
cd gitcontext
pip install -e ".[dev]"Setup gitcontext
cd gitcontext
pip install -e .Check this up
git-context --helpLet's start any project
cd ~/my-project
git-context initFeature branch creation
git-context branch feature/new-apiWriting OTA log
git-context otaDoing commit
git-context commit "Added new API endpoint"Getting status
git-context statusGet log
git-context logMerging
git-context merge feature/new-api