I run git from the command line.
How does one save the commit message?
I mean what keys should I press to go past this screen:
You are inside vim. To save changes and quit, type:
<esc> :wq <enter>
That means:
:wq
An alternative that stdcall in the comments mentions is:
Z
twice).