Today I learnt that I can modify my most recent commit using the amend option.

git commit --amend