git ls-files | xargs wc -l
To search total line count by file type: git ls-files | grep '.py' | xargs wc -l