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=
I found another way to do it:
git ls-tree -r -t -l --full-name HEAD | sort -n -k 4 | tail -n 10
Quoted from: SO: git find fat commit