get no of lines in a file for every commit code example Example: get total github lines git ls-files | xargs wc -l