title: Showing Permission denied on ubuntu 16.04
body: <p>I am using Ubuntu 16.04 installed on Virtual box. I have installed LAMP and git successfully. I tried to clone my git repository using terminal but
  it shows:</p>
  
  <pre><code>fatal: could not create work tree dir 'directory-name': Permission denied
  </code></pre>
  
  <p>I tried to give directory permission using the following command:</p>
  
  <pre><code>sudo chmod 755 /var/www/html
  </code></pre>
  
  <p>but it is not working. </p>