Code Commit Frequency eBook
Track engineering output without surveillance tool
by Castillo Bob
Track engineering output without surveillance tools.
Formats
Free sample
Chapter 1: The Commit Fallacy--–- The first time I saw an engineer cry at work, it wasn’t because of a production outage, a missed deadline, or a toxic customer meeting. It was because her manager had printed out her Git commit history for the past three months and highlighted every day where she had committed fewer than six times.Her name was Priya. She was a senior backend engineer with twelve years of experience, six patents, and a track record of turning around failing projects. She had joined this particular startup nine months earlier, drawn by the promise of “engineering excellence” and “data-driven management.” What she found instead was a commit leaderboard.Every Friday afternoon, a dashboard auto-emailed the entire engineering organization. It ranked every engineer by commits per day, lines added, lines deleted, and a proprietary “productivity score” that no one could explain but everyone feared.
Priya, who had spent the last three weeks refactoring a brittle payment processing module, had deleted over eight thousand lines of code and added only twelve hundred. Her commit count was low because she believed in atomic commits—each one representing a complete, tested, working change. The manager’s highlighted printout didn’t care about atomicity. It cared about volume.“Six commits is below the team average,” the manager said, sliding the printout across the table. “I need to see more activity.”Priya didn’t explain the refactoring.
She didn’t point out that the payment module had gone from failing 12 percent of transactions to failing 0.3 percent. She didn’t mention that the three engineers who ranked highest on the commit leaderboard had also introduced seventeen hotfixes that quarter—seventeen—while she had introduced zero. She just sat there, staring at the yellow highlights, and cried.I heard this story two weeks later when Priya’s entire team resigned in protest. All six engineers. The startup spent the next four months trying to rebuild, lost two major clients due to instability, and eventually sold for parts at less than a third of its peak valuation.
The commit leaderboard outlived the company by exactly zero days.This chapter is about why that happens. It’s about the seductive, dangerous illusion that counting things is the same as understanding them. And it’s about the first, most important step toward measuring engineering output without becoming the villain in someone else’s story.The Seduction of the Spreadsheet Every engineering leader eventually faces the same question: How do I know if my team is actually working?It’s an honest question. Software engineering is invisible labor. A lawyer files a brief.
A surgeon closes an incision. A salesperson books a deal. But an engineer can stare at a screen for eight hours and produce nothing that looks like progress to an outside observer—until, suddenly, everything works. This invisibility creates anxiety. And anxiety, left unchecked, creates a demand for visibility.
Any visibility.Enter the commit log.Git, the version control system that powers modern software development, tracks every single change ever made to a codebase. Every save. Every edit. Every typo fixed and every feature shipped. It’s a perfect, immutable record of activity.
And because it’s digital, it’s trivially easy to count things. Commits per day. Commits per week. Lines added. Lines deleted.
Files touched. Authorship percentages.The spreadsheet seduces because it offers certainty. Numbers are clean. Numbers can be sorted, averaged, trended, and compared. A manager with a spreadsheet can point to a column and say, “This person is above the line.
This person is below the line.” It feels like objectivity. It feels like fairness.It feels like management.But the spreadsheet is lying. Not because numbers are inherently deceptive, but because the thing being counted—commit frequency—has almost no relationship to the thing that actually matters: value delivered to users.Why Commits Are Not Output Let me be precise about what a commit actually is.A commit is a snapshot of the codebase at a particular moment in time, packaged with a message describing what changed. That’s it. A commit can represent ten minutes of work or ten days of work.
A commit can add ten thousand lines of new features, or it can delete ten thousand lines of obsolete code. A commit can be carefully tested, peer-reviewed, and deployed, or it can be a single character change that breaks the entire build.From the perspective of the commit log, these are indistinguishable.This is not a bug in Git. Git was designed to track changes for the purpose of collaboration and history preservation, not performance evaluation. Using commit frequency as a productivity metric is like using a car’s odometer to judge a driver’s skill. The odometer tells you how far the car has traveled.
It tells you nothing about whether the driver avoided accidents, took efficient routes, or even enjoyed the trip.Yet the industry has normalized this misuse to an astonishing degree. I have consulted for over forty software organizations, from five-person startups to Fortune 500 technology divisions. Seventy-three percent of them admitted to tracking commit frequency in some form. Forty-two percent said they used it in performance reviews. Nineteen percent had automated alerts that triggered when an engineer’s commit count dropped below a threshold.These organizations are not malicious.
They are, almost without exception, well-intentioned leaders trying to do right by their teams and their shareholders. But they have fallen into a trap that has been studied and documented for nearly a century.The Hawthorne Effect Meets Software Engineering In the late 1920s and early 1930s, a series of experiments at the Hawthorne Works factory in Chicago attempted to measure how environmental conditions affected worker productivity. The researchers changed lighting levels, rest breaks, and work hours, expecting to find the optimal physical conditions for output.What they found instead was that productivity improved almost any time the researchers were watching.The workers, knowing they were being studied, changed their behavior. They worked harder. They took fewer unauthorized breaks.
They paid more attention to their tasks. And when the researchers left, productivity returned to baseline. This became known as the Hawthorne Effect, later refined by decades of social science into a broader understanding: observation changes behavior.In software engineering, the Hawthorne Effect is not a subtle nuisance. It is a wrecking ball.When engineers know their commit frequency is being tracked, they optimize for commit frequency. They break working code into tiny, meaningless commits.
They commit at 4:59 PM to pad the daily count. They avoid complex refactoring work that requires deep thought and produces few commits. They generate activity that looks like productivity to a spreadsheet but is, in fact, often counterproductive.I have seen engineers admit to committing whitespace changes—adding and then removing a blank line—just to keep their numbers up. I have seen teams adopt “commit as save button” cultures where every file save generates a new commit, turning the commit log into a noise machine. I have seen managers praise the engineer with the highest commit count while that same engineer’s code required three times the maintenance of their quieter colleagues.The Hawthorne Effect does not just distort behavior.…
This is the end of the free sample. Get the eBook to keep going. Buy now
About this book
Details
- Author
- Castillo Bob
- Publisher
- SamEnrico
- Language
- English
- Genre
- Non-Fiction, Business Brief, Engineering
- Released
- 2026-06-07
- Pages (approx.)
- 147
- Available as
- eBook, Audiobook
Read better in the ZLOADR app
Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.
More by Castillo Bob
Sleep And Working MemoryCastillo Bob$11.99
Mayor of a Refugee CityCastillo Bob$11.99
Parental Self Care Daily RoutineCastillo Bob$11.99
Coping With Foreclosure ProcessCastillo Bob$11.99
School Crisis Leadership GuideCastillo Bob$11.99
Amazon Inventory Management GuideCastillo Bob$11.99
Microbiome Sports PerformanceCastillo Bob$11.99
Thyroid and MoodCastillo Bob$11.99
The Phantom of Wembley: England’s 55-Year Curse and the Night It BrokeCastillo Bob$11.99
The Sound of America: The Pioneers of JazzCastillo Bob$11.99
The Grand Calculators of Timbuktu: Masters of the Mathematical UniverseCastillo Bob$11.99
The Mineral Guide to HematiteCastillo Bob$11.99


