git commit number of lines changed

C++
git log --shortstat
Source

Also in C++: