I use the xargs tool to do something
A pretty decent introduction to Bash for pipelines and interactive use.
This command will find the largest file from the output of git ls-files which outputs the path to each of the files stored in git below your current directory.