This happens when you do not include a message when you try to commit using:
git commit
It launches an editor environment. Quit it by typing :q!
and hitting enter.
It's going to take you back to the terminal without committing, so make sure to try again, this time pass in a message:
git commit -m 'Initial commit'