Command

git count-objects

Inspect loose and packed object statistics.

Formal Syntax & Structure

git syntaxgit
git count-objects -v
Git Reference