In HEAD (the latest commit), I have a file named foo. In my current working tree, I renamed it to bar, and also edited it.
HEAD
foo
bar
I want
Specify the paths explicitly:
git diff HEAD:full/path/to/foo full/path/to/bar
Check out the --find-renames option in the git-diff docs.
--find-renames
git-diff
Credit: twaggs.