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