Is there any way of online editing the commit message in GitHub.com, after submission?
GitHub.com
From the command line, one can do
git commit --am
You need to git push -f assuming that nobody has pulled the other commit before. Beware, you're changing history.
git push -f