From [https://git-scm.com/docs/git-diff] ([https://git-scm.com/docs/git-diff):
--word-diff= plain:
Show words as [-removed-] and {+added+}. Makes no attempts to escape the delimiters if they appear in the input, so the output may be ambiguous.
Examples:
- git diff --word-diff=plain