The quickest and easiest fix I found is -
git commit --amend -m "New commit message"
Warning
- Make sure that there are no stages changes else they will also be added to the commit.
- These commits are not pushed to the server else you need to force push the commit
git push --force
Or
git push -f
But if this commit already exists in the working copy of others then they will face the issue as amending changes the SHA id and everyone need to resync their system.