Neat one-liner that might be interesting to folks. Say you’ve been working in a separate branch for a few hours and you want to know how many new lines of code you cranked out. There you go:
$ git diff parent-branch...topic-branch | grep '^+' | wc -l 390
Pretty neat given how small the command is.