How to resolve "Error: bad index – Fatal: index file corrupt" when using Git How to resolve "Error: bad index – Fatal: index file corrupt" when using Git git git