I\'m trying just git commit and Git is giving this message:
hint: Waiting for your editor to close the file... /c/Users/AGT/AppData/Loc
I got that error while i configured with Atom.
I got it solved by opening the app in background before executing the command git commit
You can also try using $ git commit -m "Initial commit"
It directly passes the message without waiting for the editor to open
NOTE: You wont be able to add description just a comment