Using the -U parameter you can change how many lines are shown above and below a changed section.
-U
Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)
E.g. git diff -U10 will show 10 lines above and below.
git diff -U10