Git in Practice #6: The Perfect Commit

What should you do before committing? Here’s a simple method for clean commits your teammates will understand right away. What you'll learn Review your changes before committing Make commits that cover a single topic Write a clear commit message 1. List the changed files git status Check that no file was changed by mistake. If a file has nothing to do with this commit, don’t add it. ...

November 19, 2026 · 3 min · 572 words · Naimi

Git in Practice #11: Reviewing Your Changes with git diff

As its name suggests, git diff shows the difference: the exact changes you made in each file. What you'll learn Read git diff output: the + and - signs Review your changes before every commit Compare what’s staged with what isn’t An example In a file, we delete one line, change another and add a new one. git status only says the file is modified. To see the details: ...

November 19, 2026 · 2 min · 417 words · Naimi