By default git diff highlights whole lines as changes.
git diff
Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!
To diff on a word-by-word basis you can say:
git diff --color-words
To diff on a character-by-character basis you can say:
git diff --color-words=.