title: How to git list only the tracked directories?
body: <p>Using <code>git list-files</code> gives me the directories and the files tracked within. Is there a command like: </p>
  
  <pre><code>git list-directories
  </code></pre>
  
  <p>or something similar that lists only the tracked non-empty non-recursive directory names?</p>