The Developer’s First Step to Writing: Git Commit
I’ve always envied people who write stories and poems—despite the fact that I’ve barely spent time reading them.
Most of my “reading” happens between lines of documentation, API references, and Stack Overflow threads. These days, it’s ChatGPT or DeepSeek filling in the gaps. And I know I’m not alone—many of us developers spend our days glued to screens, building, debugging, or doom-scrolling.
But this one is for those coders who’ve secretly wanted to write, but never got around to it.
The Wake-Up Call
A few months ago, I was preparing a session on GitHub commit practices.
I planned to cover everything:
Clear commit messages
Descriptive summaries
Proper context for every change
I sounded like a preacher, ready to inspire my team.
But the session? Honestly, it was a bit boring. Too much lecturing, not enough interaction. That was mistake number one.
Mistake number two came when I reviewed my own commits for examples. That’s when I realized…
✅ One-liners.
✅ No descriptions.
✅ No reasoning.
Just a graveyard of “fix,” “update,” and “implement.”
It was a humbling moment. I was preaching good practices I wasn’t following myself.
Changing My Commit Habits
So I decided to change.
No, I’m not writing novels in my commit messages now. But I’ve started writing a few complete thoughts—enough to explain what I did and why.
The surprising part? Writing better commits didn’t just make collaboration easier; it made me feel like a better writer.
A clean commit log is more than a technical record. It’s a narrative—a story of your project’s growth. And when you read those logs months later, your future self will thank you for the clarity.
AI Can Help: Using GitHub Copilot for Commit Messages
One of the simplest ways to improve your commit quality is by letting AI help. Tools like GitHub Copilot can auto-generate meaningful commit messages by analyzing your code changes.
Instead of typing “fix” or “update,” you can run use copilot. It will suggest a descriptive, structured commit message for your changes.
While AI won’t make your commits perfect, it’s a great starting point—especially when you’re tired or rushing. You can tweak the message, add reasoning, and keep a clean log without spending extra mental energy.
Start Small, Write Often
If you’re a developer who dreams of writing, start with your commits.
Write one thoughtful message today. Then another tomorrow. Over time, your code will tell a story, and your writing skills will sharpen without you even noticing.
Who knows? Maybe one day you’ll write that novel or blog post you’ve been dreaming about.
And it all started with:
git commit -m "Write better commit messages"