get amount of lines changed git unstaged code example Example: git commit number of lines changed git log --shortstat