title: Git: How to diff two different files in different branches?
body: <p>I have two different files in different branches.
  How can I diff them in one command?</p>
  
  <p>Something like</p>
  
  <pre><code># git diff branch1/foo.txt branch2/foo-another.txt
  </code></pre>
  
  <p>I could check out the other file, diff it and restore, but that's quite dirty solution.</p>