git: litle optimisation (do not concat $end everywhere)
git: optimize changed lines extraction

- use "git diff --shortstat" to replace 3 different calls to "git diff"
- drop usage of awk
_lp_git_branch: optimize code paths
Merge pull request #183 from dolmen/optimize/git

More Git optimizations