linux get total linus off git project

C++
git ls-files | xargs wc -l

Source

Also in C++: