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