# git-ai-project/git-ai

A Git extension for tracking the AI-generated code in your repos

Repository: https://github.com/git-ai-project/git-ai
Canonical: https://ross.abutalabs.com/products/git-ai
Homepage: https://usegitai.com
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: ai, coding-agents, ai-blame
Last push: 2026-08-26T21:31:38+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 30
- inputs: {"age_days": 427, "days_push": 7, "days_rel": 7, "gap_med": 1, "n_releases_24m": 146}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2506, forks 274 (observed 2026-08-28T04:06:57.158137+00:00)

## What it is
Git AI is an open-source Git extension written in Rust that tracks AI-generated code in repositories, linking every AI-written line to the agent, model, and prompt that produced it. Attribution survives rebases, merges, squashes, and cherry-picks, and requires no workflow changes or git hooks.

## Use cases
- track how much of my codebase is AI-generated
- run git blame showing which coding agent wrote each line
- measure AI code ROI and token spend across a team
- see what percentage of production code came from AI agents
- attribute commits to Claude Code, Cursor, or Copilot automatically
- audit AI-generated code through the SDLC

## When to choose
- you use coding agents and want provenance for AI-written lines in Git
- you need zero-overhead, local-first attribution without changing your workflow
- you want team dashboards on AI usage, rework, and production impact

## When to avoid
- you don't use AI coding agents and have no need for AI attribution
- you need a fully self-hosted analytics stack without any commercial offering
- your tooling depends on strict control of git notes and commit metadata

## Facets
- artifact type: cli-tool
- maturity: active
- function: version-control, analytics, monitoring, developer-tools
- domain: developer-tools, version-control, artificial-intelligence, analytics
- platform: windows, cli
- tags: git-extension, ai-attribution, ai-blame, coding-agents, observability, rust, macos, linux

## Member repositories
- git-ai-project/git-ai (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:57.158137+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:26:42.790075+00:00, confidence not recorded.
  - readme: https://github.com/git-ai-project/git-ai (fetched 2026-08-28T04:06:57.158137+00:00, sha 48c4de60a922)
  - homepage: https://usegitai.com (fetched 2026-08-29T10:08:56.046171+00:00, sha c821c2146b7e)
  - site_page: https://usegitai.com/docs (fetched 2026-08-29T10:08:56.055615+00:00, sha 3192010e2839)
  - site_page: https://usegitai.com/about (fetched 2026-08-29T10:08:56.059896+00:00, sha cc0a91f604df)
  - site_page: https://usegitai.com/changelog (fetched 2026-08-29T10:08:56.057557+00:00, sha 853d20b2df44)
- Data as of 2026-08-30T08:39:29.467469+00:00.
