git count-objects [-v]
This counts the number of unpacked object files and disk space consumed by them, to help you decide when it is a good time to repack.
-v, --verbose
Written by Junio C Hamano <m[blue]gitster@pobox.comm[][1]>
Documentation by Junio C Hamano and the git-list <m[blue]git@vger.kernel.orgm[][2]>.
Part of the git(1) suite