Issue in git revert HEAD command - Learn Git by Building an SQL Reference Object

Tell us what’s happening:

I have almost completed 68% of the course Learn git by building SQL reference object
However, I am stuck in the step where I have to use revert command.
When I insert ‘git revert HEAD’ it return a line instead of nano editor like ‘hint: Waiting for your editor to close the file…’
I don’t know what’s happening here. I have tried to reset it the step multiple times, also tried online tricks but none worked.
If any one knows how they completed this step or any help with this please help.

Your code so far

git revert HEAD

Challenge Information:

Learn Git by Building an SQL Reference Object - Build an SQL Reference Object