title: --dry-run option in git checkout
body: <p>I use <code>git checkout --&lt;dir_name(or)file_name&gt;</code> to discard all my changes in the specific directory or in the file. Whenever I do that, GIT checks-out the directory (or) file from the repository.</p>
  
  <p>Is there a way I can tell GIT?, "<strong>do not override the changes, just tell me what would happen.</strong>"</p>
  
  <p>Similar to <code>git clean -n</code> (or) <code>git clean --dry-run</code>.</p>
  
  <p><strong>UPDATE:</strong>
  Before I execute, <code>git checkout --src/</code>, I would like to see what are the files would be overridden. I know we can use <code>git status src/</code>. But, wouldn't it be great to have <code>git checkout -n --src/</code>? Not much command changes for the user.</p>