Set Up Git

  • $ git config --global user.name "Your User Name"
  • $ git config --global user.email"Your register email"
  • $ git clone git-path

Create a local clone of your fork

Step 2: Create a local clone of your fork

Right now, you have a fork of the Spoon-Knife repository, but you don’t have the files in that repository on your computer. Let’s create a clone of your fork locally on your computer.

  1. On GitHub, navigate to your fork of the Spoon-Knife repository.
  2. Clone or download buttonUnder your repository name, click Clone or download.
  3. Clone URL buttonIn the Clone with HTTPs section, click to copy the clone URL for the repository.
  4. Open Git Bash.
  5. Type git clone, and then paste the URL you copied in Step 2. It will look like this, with your GitHub username instead of YOUR-USERNAME:
    git clone https://github.com/YOUR-USERNAME/Spoon-Knife
    
  6. Press Enter. Your local clone will be created.
    git clone https://github.com/YOUR-USERNAME/Spoon-Knife
    Cloning into `Spoon-Knife`...
    remote: Counting objects: 10, done.
    remote: Compressing objects: 100% (8/8), done.
    remove: Total 10 (delta 1), reused 10 (delta 1)
    Unpacking objects: 100% (10/10), done.