I am new to git and was trying to commit, but I got stuck in what looked like vi which I\'m not familiar with. I managed to get out of it, but I think
git
vi
mine was solved with both answers from Platinum Azure then Suhail Taj
git commit -am "Changed this, that, and the other thing"
Then
$ rm -rf .git/index.lock