How to create a repository on GitHub and clone it locally using VScode

7 min readMay 8, 2020

This article will walk you through step-by-step showing you how to create a remote repository on GitHub and then clone a copy of it on your local machine using VScode.

In order to follow along in this article you will need to have an active GitHub account. If you currently do not have an account with GitHub you can easily create one by going here: GitHub

We will proceed with this article based on the assumption that you already have an account.

1 — How to create a repository on GitHub

First you will need to login to GitHub, and as soon as you are authenticated you will be redirected to your home/dashboard page. On that page you have two ways to create a new repository.

You can either locate the green button on the top left hand side of the page as shown in the screen shot below:

Or perhaps you can click on the + icon located at the top right hand side of the page and then select the “New repository” action item.

Once you click on either links you will be redirected to the “Create a new repository” screen.

On that page you will need to fill out basic information regarding the repository that you will be creating. First you need to choose the owner from the drop down list. In my case, there is only one owner.

Then you will need to provide a repository name. This can be anything you want it to be.

The description field is optional however I always like to provide a short description.

The next part is very important, you will need to specify whether the repository that you will be creating is Public or Private. If you choose the Public option you have to keep in mind that anyone can see this repository on the internet. If you believe that your repository should remain private then the option that…