Depending on what I am diffing sometimes I want to see several lines (let’s say 10) above and below the +insertions -deletions, sometimes I just want to see a couple of lines surrounding them.
Is there a way to tell git the number of line he should show me?
The option you’re looking for is
-U. From the man page: