Command
git fsck
Inspect object connectivity and report objects unreachable from selected roots; verify candidate contents before anchoring.
Formal Syntax & Structure
git syntaxgit
git fsck --no-reflogs --unreachableInspect object connectivity and report objects unreachable from selected roots; verify candidate contents before anchoring.
git fsck --no-reflogs --unreachable