title: Cannot clone my own repository from github to my www folder
body: <p>I am using linux mint. I am new to git. I have pushed one repository from my local computer to github. Then I have reinstalled my os. Now I am trying to clone that repo and bring it back to my www folder. I can clone it in my home folder. But whenever I try to clone in my www folder then I get this error saying permission denied.</p>
  
  <p>Here is my command</p>
  
  <pre><code>sudo git clone git@github.com:username/projectname.git /var/www/projectname/
  </code></pre>
  
  <p>I get this error</p>
  
  <blockquote>
    <p>Permission denied (publickey). fatal: Could not read from remote
    repository.</p>
    
    <p>Please make sure you have the correct access rights and the repository
    exists.</p>
  </blockquote>