number of lines of code in git repo code example Example: Count number of lines of code in Git repo cloc $(git ls-files)