Git Commit Verbose Mode
To help you remember exactly which changes are staged before writing a commit message, you can use the git commit --verbose command. This will display the diff of the changes you're about to commit in the editor where you write your commit message.