title: How does git show committed file?
body: <p>I added some files in the directory and wanted to add them to git:</p>
  
  <pre><code>git add .
  git commit -a -m "add some file"
  </code></pre>
  
  <p>As I have set <code>.ignore</code> under this directory, I want to observe which files were really added to git. How to do that?</p>