This answer is great for seeing a visual diff between two files that are checked into git: How do I view 'git diff' output with a visual diff program?
Howev
If you use the excellent WebStorm editor, you can compare with any branch you'd like: