Git Clone

You need to have git installed before you can start.

Before you can work with a git repository locally you need to clone it. Cloning can happen with ssh like this:

git clone git@github.com:eliotmuirgrid/core.git

For this to work you’ll need to have access to the repository and have a public ssh key registered with your cloud git provider.

Or you can do it by https, which for public repos won’t require authentication:

git clone https://github.com/eliotmuirgrid/core.git

This is what a typical successful git clone looks like:

Eliots-MacBook-Pro-2:scratch eliotmuir$ git clone git@github.com:eliotmuirgrid/core.git Cloning into 'core'... remote: Enumerating objects: 108, done. remote: Counting objects: 100% (108/108), done. remote: Compressing objects: 100% (92/92), done. remote: Total 108 (delta 7), reused 102 (delta 6), pack-reused 0 Receiving objects: 100% (108/108), 244.83 KiB | 2.38 MiB/s, done. Resolving deltas: 100% (7/7), done. Eliots-MacBook-Pro-2:scratch eliotmuir$

It’s helpful to understand that GIT is a distributed network application.