Error: index uses extension, which we do not understand fatal: index file corrupt
This error can be solved by removing the index, and then restore index to version in the last commit.
If you are using Linux, run the below commands:
#rm -f .git/index #git reset
If you are using Windows, run the below commands:
#del .git\index #git reset