title: How can I make git accept a self signed certificate?
body: <p>Using Git, is there a way to tell it to accept a self signed certificate?</p>
  
  <p>I am using an https server to host a git server but for now the certificate is self signed.</p>
  
  <p>When I try to create the repo there for the first time:</p>
  
  <pre><code>git push origin master -f
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>error: Cannot access URL     
  https://the server/git.aspx/PocketReferences/, return code 22
  
  fatal: git-http-push failed
  </code></pre>