If your message name goes wrong or gets accidentally submitted, it isn't too late. NB: If you have already pushed your commit you can't do it or you won't be able to use you repository later.
Source code viewer
git commit --amend -m "New commit message"Programming Language: Bash