cc-git

How does Claude Code use git? Track subcommands, workflow chains, and commit patterns across all your sessions.

npx cc-git
Drop your ~/.claude/projects/ folder here
or click to select
9:1
git add : git commit ratio — Claude stages 9x more than it commits
3,846 git calls across 291 sessions (19.3% of all sessions)
291
Git sessions
19.3%
of sessions
3,846
Git calls
6.9%
of Bash calls
Git subcommands
What git operations Claude runs most
git add
29.0%
1,114
git log
15.8%
606
git diff
10.1%
388
git status
8.7%
335
git push
7.2%
278
git init
4.2%
160
git checkout
4.1%
157
git commit
3.2%
124
Key ratios
How git operations relate to each other
git add : git commit
9.0 : 1
git push : git commit
2.2 : 1
add→commit→push chains
24 complete workflows
git init (new repos)
160 created
What this means
  • git add is 9x more common than git commit — Claude stages aggressively but commits rarely. Most commits need human approval
  • 26% of git is read-only — git log + git diff = reading history, not writing it
  • Only 19% of sessions touch git — most Claude Code work happens without explicit version control commands
  • 160 git init — Claude creates new repositories frequently, often for new tools and projects
  • More pushes than commits (2.2:1) — Claude pushes existing commits more than it creates new ones