I wanted to find the 10 largest files in my repository. The script I came up with is as follows:
REP_HOME_DIR= max_huge_files=
For completion, here's the method I found:
ls -lSh `git ls-files` | head
The optional -h prints the size in human-readable format.
-h