A Git extension that automatically tracks AI-generated code, linking each line to the agent, model, and original transcripts.
Git AI is a Git extension that automatically tracks and attributes AI-generated code within software repositories. It solves the problem of losing context and intent behind code written by AI assistants by linking every AI-written line to the specific agent, model, and original transcript. This creates a permanent, queryable record of how code was generated.
Developers and engineering teams who regularly use AI coding assistants (like GitHub Copilot, Claude Code, or Cursor) and need to maintain clarity, accountability, and context for AI-generated code in their projects.
Developers choose Git AI because it provides precise, automatic attribution without changing their workflow, uses an open and Git-native standard, and offers powerful tools like AI blame and the `/ask` skill to understand the reasoning behind any piece of code.
A Git extension for tracking the AI-generated code in your repos
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Requires no workflow changes; attribution is added automatically on commit using Git hooks and notes, as demonstrated by the seamless commit output in the README.
Uses Git Notes, an established Git feature, to store attribution data, keeping repositories lean and interoperable via the documented open standard (Git AI Standard v3.0.0).
Works 100% offline by default, storing data locally in SQLite with no login or cloud dependency, ensuring user control and data privacy as emphasized in the philosophy.
Enables deep insights into AI code intent through the /ask skill, which links to original transcripts, allowing developers to understand the 'why' behind any snippet, as shown in the comparison table.
Provides CLI stats and dashboards to measure AI adoption, code durability, and compare agents, with detailed JSON output for analytics, supporting team-wide insights.
Attribution only works with the listed supported agents; using unsupported or custom AI tools will not be tracked without manual integration, limiting flexibility.
Advanced team dashboards, cross-repository analytics, and shared context features are part of Git AI Enterprise, which requires early access or payment, reducing functionality for open-source or budget-conscious teams.
Automatic installation of Git hooks and skills might interfere with existing custom hooks or editor configurations, necessitating manual adjustments in complex setups.