In former times I often found it hard to formulate meaningful messages for a #git commit.
Now I usually begin with the file name where the/an important change of this commit happened. Examples:
utils.py: improve logging
test_frontend.py: add failing test for bug #15
core.js: refactoring while working on #15 (wip 3)
Enumerating work-in-progress (wip) commits also helps me. Mostly, I try to commit at least once per hour. Makes me feel safer.
2/x