Let an agent read your git history for you
A developer who has shipped over 700 commits in three months asked Claude to analyze the history. He had pushed code on 69 of the last 78 days, his busiest hours were between 10 and 1, and only 9 commits came after midnight. He works alone with a group of coding agents and uses Claude Code and Codex. He shared his prompt, which tells the agent to use git commands only, and encourages others to try it.
Done with Claude CodeModerate
What was done
A developer who has shipped over 700 commits in three months asked Claude to analyze the history. He had pushed code on 69 of the last 78 days, his busiest hours were between 10 and 1, and only 9 commits came after midnight. He works alone with a group of coding agents and uses Claude Code and Codex. He shared his prompt, which tells the agent to use git commands only, and encourages others to try it.
How to do it
- Paste the prompt into the tool, and replace the text in brackets with your own.
- Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
- Check the original before you trust a figure, a name or a date.
Try it with Claude Code
Analyze this repo's git history for the last [number] days, using git commands only. Do not change any files. Tell me how many days I committed and my longest streak, which hours of the day I work, what share of commits are fixes versus new features, and which 10 files change most often. You are done when I have a short overview and one thing that surprised you.
Replace text in brackets with your own.
@satyajeetjadhav on X ·