By default git diff highlights whole lines as changes.
git diff
We make sure that your target audience has the best possible experience with your digital product. You get:
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=.