Hello,
The error is related to the index-file of git. It has been damaged. Store a copy of it outside your experiment folder if you want, then delete it (e.g. del .git\index), reset your git by issuing the following command in a command line in your experiment folder:
git reset
See also Failing to upload with error "--untracked-files stderr: fatal: bad object HEAD"
Best wishes Jens