Clone Git repository

Usually you will start from cloning an existing Git repository from remote. In this exercise, we will use the VSCode to clone a repository on GitHub.

Prerequisite

  • signing up to GitHub for a personal account
  • being a member of the GitHub organization dccn-tg

Clone the repository

  1. open VSCode to clone a repository from GitHub

  2. select the repository dccn-tg/tg-workshop and clone into a local directory.

  3. Once the repository is cloned, choose Open to open the cloned repository in the VSCode. You should see something like the screenshot below. On the left-hand side, a list of files in the repository is shown.