How to edit a commit in github : I wanted to change a commit in Github for which I googled and found this command 

    git commit --amend

Now, When I pass this command, I get a screen which look something like this 

[![enter image description here][1]][1]

Now, When i start typing commit here, It just plays sound similar to one that sort of means that I am typing in a wrong place (invalid command) 

Can someone please help me in figuring out how we can edit a commit message in git?


  [1]: https://i.stack.imgur.com/QumUj.png