I am getting
Git error: inflate: data stream error (unknown compression method) fatal: failed to read object
when I try do
git fsck --full
del .git/index
git reset
I 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