how to calculate no of lines commited code example Example: git commit number of lines changed git log --shortstat