title: How to Diff between local uncommitted changes and origin
body: <p>Let's say I cloned a repository and started modifying files. I know that if I have local uncommitted changes, I can do a diff as follows <code>git diff test.txt</code> and it will show me the difference between the current local HEAD and the modified, uncommitted changes in the file. If I commit those changes I can diff it against the original repository by using <code>git diff master origin/master</code></p>
  
  <p>But is there any way of diff'ing the local changes with the original repository on the server <em>before</em> committing locally? I tried various permutations of <code>git diff --cached master origin/master</code> with no luck.</p>