title: List tracked files in git-repo
body: <p>The following shows not only the files in the current repo, but it also shows deleted files:</p>
  
  <pre><code>git ls-tree -r master --name-only
  </code></pre>
  
  <p>I tested this by taking an existing repo and deleting a file, commiting the change, and running the above command, and even after the "git commit", the deleted file still shows up in the above list. How do I list "only" the files currently being tracked?</p>
  
  <p>For example, suppose I start with</p>
  
  <pre><code>a
  b
  c/a
  </code></pre>
  
  <p>and I run</p>
  
  <pre><code>rm a
  git commit -m "test"
  </code></pre>
  
  <p>I need a command to show me:</p>
  
  <pre><code>b
  c/a
  </code></pre>