Connect to Github Repository from Microsoft’s Visual Studio Code

, ,

This is not meant to be a step by step walk through, rather a quick reminder on connecting to a GitHub repository from Microsoft’s Visual Studio Code.

  1. If you don’t already have a repository up on GitHub, set one up.
  2. Copy the repository URL.
  3. Download and install Microsoft’s Visual Studio Code as well as Git.
  4. Open Visual Studio Code and install the following extensions:
    1. GitHub Pull Requests and Issues
    2. GitHub Codespaces
    3. GitHub Repositories
  5. After extension installation select the “Remote Explorer” icon and click on “Sign in to GitHub” and “Authorize Visual-Studio-Code” to access your account.
  6. If you don’t already have a local repository on your PC create one. Then under “Explorer” select “Open Folder
  7. Type “clone” and insert your Repository URL and Select your Local Repository Location.
  8. Add to Workspace.