When I do a git commit -a, I am seeing the following:
git commit -a
# Please enter the commit message for your changes. Lines starting # with \'#\' will
Make sure you're in the right directory (repository main folder) in your local git so it can find .git folder configuration before you commit or add files.