title: Create a directory in Gitlab repo through web interface
body: <p>In a self-hosted GitLab installation, how can we create a new <strong>directory</strong> in a repository <strong>through the web interface</strong>?</p>
  
  <p>In GitHub web interface, we can create a new directory by giving a filename like this:</p>
  
  <pre><code>/new-dir-name/new-file-name.md
  </code></pre>
  
  <p>..which will create a new directory named <code>new-dir-name/</code> and put the file <code>new-file-name.md</code> inside it.</p>
  
  <p>But this is not working with GitLab <strong>through the web interface</strong>. How can we do this?</p>
  
  <p><em>(It's clear that we cannot create empty directories in a git repo.)</em></p>