Display only relevant hunks of a diff/patch based on a regexp
here https://stackoverflow.com/a/35434714/5305907 is described a way to do what you are looking for. effectively:
git diff -U1 | grepdiff 'console' --output-matching=hunk
It shows only the hunks that match with the given string "console".