title: Difference between git@github.com:... and https://github.com/...?
body: <p>I've recently attempted building a project which had various dependencies declared as Github links. The links were a mixture of links to public Github repositories and private Github Enterprise repositories of my company.</p>
  
  <p>Some of the links were in format </p>
  
  <pre><code>https://github.com/project/repo.git
  </code></pre>
  
  <p>And some were in format</p>
  
  <pre><code>git@github.com:project/repo.git
  </code></pre>
  
  <p>What exactly is the difference between such formats and which format is intended to be used for what purpose?</p>