title: Git: How to diff two different files in different commits?
body: <p>I have a repository where a number of files have been renamed from .html to .php and further edited in a number of commits since my last pull.  Using <code>git diff</code> to shows all the <code>html</code> contents removed and all the <code>php</code> content added.  Is there a neat way to have <code>git diff</code> detect the renames (something like <code>git log --follow</code> does), or directly compare different filenames across different commits (something like the solution in <a href="https://stackoverflow.com/questions/8131135/git-how-to-diff-two-different-files-in-different-branches">Git: How to diff two different files in different branches?</a> , but for commits)?</p>