How can I diff a file, say pom.xml, from the master branch to an arbitrary older version in Git?
pom.xml
git diff master~20 -- pom.xml
Works if you are not in master branch too.