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
If you are using Windows, run the below commands: