I used fsck and found that I have some dangling objects, and more than that (in amount) unreachable objects.
fsck --lost-found does save the dangling objects as files at the lost-found directory, but when I want for it to write all unreachable objects with fsck --unreachable --lost-found it does not write them, so I end up missing some unreachable objects.
Why does that happen and is there a way for Git to write those unreachable objects as well into files?
Solution found:
--lost-foundsupports only dangling objects, according to the Git documentation:https://git-scm.com/docs/git-fsck#Documentation/git-fsck.txt---lost-found