title: Clone Git Repository on Apache Server
body: <p>So I am trying to get an auto-deploy for my current website, I get to the part where I need to clone my repo onto the test server and I run into this problem:</p>
  
  <ol>
  <li><p>Clone failed because the directory isn't empty.</p></li>
  <li><p>It isn't empty because it has the .ssh folder and key in it but if remove the key then git cant access it. </p></li>
  </ol>
  
  <p>Any ideas? Its an Apache server. </p>
  
  <p>EDIT: The command I am using is - git clone git@github.com:[my git]/[my project] [web served directory]</p>