title: How to list only the dot files and dot folder names (without the content in them)
body: <p>I want to list only the files and folders that are hidden (starting with dot). When I use the command</p>
  
  <pre><code>ls .??*
  </code></pre>
  
  <p>I get the output</p>
  
  <pre><code>.gitignore
  
  .git:
  COMMIT_EDITMSG FETCH_HEAD     HEAD           ORIG_HEAD      branches       config         description    hooks          index          info           logs           objects        packed-refs    refs
  </code></pre>
  
  <p>I don't want the content in the folder. Instead I'm looking for the output which only lists the folders</p>
  
  <pre><code>.gitignore
  .git [different color for the folders, like the normal ls]
  </code></pre>