GitHub - git-ai-project/git-ai: A Git extension for tracking the AI-generated code in your repos
Navigation Menu
Search code, repositories, users, issues, pull requests...
Provide feedback
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
A Git extension for tracking the AI-generated code in your repos
License
git-ai-project/git-ai
Folders and files
Latest commit
History
Repository files navigation
git-ai
Track the AI Code in your repositories
Quick Start
🎊 That's it! No per-repo setup. Once installed Git AI will work OOTB with any of these Supported Agents:
Documentation https://usegitai.com/docs
Next step: Just code and commit!
Once installed, all your Coding Agents will call Git AI in the background and mark the code they generate AI-authored.
After you commit, git-ai adds a git note to track which lines were AI-authored and scores each commit:
Installing the Stats Bot (early access)
Aggregate git-ai data at the PR, developer, Repository and Organization levels:
Get early access by chatting with the maintainers
Goals of git-ai project
🤖 Track AI code in a Multi-Agent world. Because developers get to choose their tools, engineering teams need a vendor agnostic way to track AI impact in their repos.
🎯 Accurate attribution from Laptop → Pull Request → Merged. Claude Code, Cursor and Copilot cannot track code after generation—Git AI follows it through the entire workflow.
🔄 Support real-world git workflows by making sure AI-Authorship annotations survive a merge --squash, rebase, reset, cherry-pick etc.
🔗 Maintain link between prompts and code - there is valuable context and requirements in team prompts—preserve them alongside code.
🚀 Git-native + Fast - git-ai is built on git plumbing commands. Negligible impact even in large repos (<100ms). Tested in Chromium.
Agent Support
git-ai automatically sets up all supported agent hooks using the git-ai install-hooks command
| your agent here | | |
Building a Coding Agent? Add support for Git AI by following this guide
About
A Git extension for tracking the AI-generated code in your repos
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Releases
78
Contributors
12
Uh oh!
There was an error while loading. Please reload this page.
Languages
Footer
Footer navigation