SyntaxFix
Write A Post
Hire A Developer
Questions
It happened to me that the file .git/index was in use by another process (my local development web server). I shut down the process and then it worked.