git fsck

Verify the validity and connectivity of nodes in a Git repository index.
Does not make any modifications. See `git gc` for cleaning up dangling blobs.
More information.
git fsck
git fsck --tags
git fsck --root
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY