Trying this out in Git …
Difftastic is a structural diff tool that compares files based on their syntax.