This bash one-liner displays all blob objects in the repository, with the largest ones last.
This will generate computer-friendly output.
git rev-list --objects --all \
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
| awk '/^blob/ {print substr($0,6)}' \
| sort --numeric-sort --key=2
If you append the following to the above code you get beautiful human-readable output
| cut --complement --characters=8-40 \
| numfmt --field=2 --to=iec-i --suffix=B --padding=7 --round=nearestMore here