an example git diff where first a couple are changed and a single character of space at the end of one of the lines is highlighted to indicate that the old version of that line had a trailing space character. There is another diff where the line being added has 4 spaces of extraneous indentation being added, these are highlighted in red as well.
big time quality-of-life setting for your global git config
`git config --global diff.wsErrorHighlight all`
this will ensure that anytime you run a `git diff`, any extraneous whitespace that is being added or removed will be highlighted, otherwise you can't see what about the line changed