I am getting
Git error: inflate: data stream error (unknown compression method) fatal: failed to read object
when I try do
git fsck --fulldel .git/indexgit resetI think it happened because maybe your computer or files were corrupted.
First back up your .git folder, then use git fsck --full command to check your file system then delete corrupt files and check it again until your problem disappear