sort by repo size code example Example: get files traked by git based on size git ls-tree -r -t -l --full-name HEAD | sort -n -k 4 | tail -n 10