git sizer

Computes various Git repository size metrics and alerts you to any that might cause problems or inconvenience. More information: https://github.com/github/git-sizer.

git sizer

git sizer -v

git sizer -h