Knowing what to say is half the battle. Knowing how to say it clearly, in the right moment — that’s what sets senior engineers apart.
For non-native English speakers in tech, mastering grammar patterns like this builds confidence in one of the most visible aspects of your daily work. If you want to hear professional technical English in action — including how native speakers discuss commits, code reviews, and PRs — the free resources at Speak Tech English include hours of real developer audio to train your ear.
🎧 Free Resource
Speak English like a senior engineer. 3 hours of real tech audio — standups, scrum meetings, tradeoff discussions — plus grammar and exercises. Free.
How to Use the Imperative Present Tense for Git Commit Messages
Git recommends writing commit messages in the imperative present tense. This small grammar shift instantly makes your commits clearer and more professional.

Practice Exercise
Rewrite the following commit messages using the imperative present tense:
- Changed the colour scheme of the homepage → __________________________
- Updating the library dependencies → __________________________
- Implemented a new algorithm for sorting → __________________________
- Fixed a bug in the login module → __________________________
- Adding new features to the dashboard → __________________________
- Refactored the code for better readability → __________________________
What Is the Imperative Mood?
The imperative mood tells someone to do something, uses the base form of the verb, and usually has no explicit subject.
- “Alexa, set a timer for 5 minutes.”
- “Please call me.”
- “Submit your reports by Friday.”
These are commands, requests, and instructions — and that’s exactly how commit messages should function.
💡 Tip
Think of your commit message as completing this sentence: “If I apply this commit, I will…”
Recommended vs Not Recommended
- ✅ Recommended: Add new feature for user authentication
- ❌ Not Recommended: Added a new feature for user authentication
- ✅ Recommended: Resolve issue with data validation
- ❌ Not Recommended: Resolved the issue with data validation
When writing imperative sentences, you can also omit articles (a/an/the) to keep messages concise.
Master the Most Common Commit Verbs
- Add — for new features, files, or functionality
- Fix — for bug fixes and corrections
- Update — for modifications to existing code
- Remove — for deleting code, files, or features
- Refactor — for code restructuring without changing functionality
- Improve — for performance or quality enhancements
💬 Real example
Instead of “Updated the React components for better performance,” write “Improve React component performance with lazy loading”
⚠️ Watch out
Avoid gerunds (-ing forms) like “Adding” or “Fixing” — these create ambiguity about whether the action is complete.
Write Specific and Descriptive Messages
❌ Vague
“Fix login problem”
✅ Specific
“Fix OAuth redirect URL validation in login service”
💡 Tip
Include the technology or framework when relevant: “Fix React component state update in user dashboard”
Common Mistakes
❌ Past tense
“Fixed the database connection issue”
✅ Imperative
“Fix database connection timeout”
❌ Continuous tense
“Updating dependencies to latest versions”
✅ Imperative
“Update dependencies to latest versions”
❌ Including subject
“This commit adds validation to user input”
✅ Imperative
“Add validation to user input fields”
⚠️ Watch out
The most common mistake is mixing tenses within the same project. Pick imperative and stick with it consistently across all commits.
Apply Team and Project Conventions
❌ Inconsistent
“feat: Added new search functionality”
✅ Consistent
“feat: Add advanced search functionality”
🗣️ What native speakers actually say
Many teams use tools like Conventional Commits, but the imperative mood remains the foundation regardless of additional formatting rules.
Pro Tips
- Use active voice: “Remove deprecated API endpoints” instead of “Deprecated API endpoints are removed”
- Be specific about scope: “Fix memory leak in image processing service” tells you exactly where the problem was
- Include context for non-obvious changes: “Update Node.js to v18 for security patches” explains the why
- Keep related commits together: Each commit should represent one logical change using consistent imperative style
Key takeaway
Every commit message should answer: “What will this commit do to my codebase?”
Your Next Step
Apply the imperative mood to your next three commits this week — then check how much cleaner your Git log looks. That’s how it becomes habit.
For more grammar and writing practice built specifically for developers, explore the free resources at Speak Tech English — including real audio from technical discussions that show professional English patterns used naturally in engineering environments.
English for Developers — communicate clearly in real engineering environments
English for Tech Interviews — structure strong, confident answers
The Stack Newsletter — weekly insights for global engineers
Mockly English Interviews — practice real interview scenarios




