When I\'m trying use git status or git checkout master or git pull,
git status
git checkout master
git pull
I\'m getting an error :-
When your index is broken you can normally delete the index file and reset it.
rm -f .git/index git reset
or you clone the repo again.