1. Open Visual Studio Code terminal (Ctrl + `)
  2. Write the Git clone command. For example,

    git clone https://github.com/angular/angular-phonecat.git
    
  3. Open the folder you have just cloned (menu File → Open Folder)

Answer from Shahdat on Stack Overflow
🌐
Visual Studio Code
code.visualstudio.com › docs › sourcecontrol › github
Work with GitHub in VS Code
October 7, 2026 - Choose an integration based on what you want to do: The GitHub Pull Requests and Issues and GitHub Repositories extensions are separate.
🌐
GitHub
docs.github.com › en › codespaces › developing-in-a-codespace › using-github-codespaces-in-visual-studio-code
Using GitHub Codespaces in Visual Studio Code - GitHub Docs
You can develop in your codespace directly in Visual Studio Code by connecting the GitHub Codespaces extension with your GitHub account.
Discussions

Using github and VS Code?
Step by step tutorials: https://vscode.github.com/ More on reddit.com
🌐 r/webdev
23
16
May 8, 2024
github - How do I connect to my existing Git repository using Visual Studio Code? - Stack Overflow
I've been using Visual Studio code for a long time, since v0.9.1. I now have run into the need to use GitHub and an online Git repository. I have the online Git repository set up and have been pus... More on stackoverflow.com
🌐 stackoverflow.com
How to connect my GitHub Enterprise Account with Visual Studio Code - Stack Overflow
If you have the GitHub Actions ... above under relevant extension, it could have been renamed to "GHE.com & GitHub Enterprise Server Authentication"). For the changes to take effect, restar VSCode, next time you're asked to login you should be redirected to your enterprise ... More on stackoverflow.com
🌐 stackoverflow.com
What's the best way to setup VSCode with my GitHub? Is the idea to have all my code local and then periodically push it to GitHub? Sorry, very beginner question
You can use GitHub (any source control for that matter) to not only store your files but also track all your work. In the simplest form you would work on your scripts and once you have accomplished something you commit and push your work. So now you have a copy of your latest work locally and also on the cloud. To keep things simple you can just push to the main branch and you have a record of every change you have made since the inception of the git repository. VSCode has great git functionality out of the box. I would recommend getting the git graph extension as well: https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph More on reddit.com
🌐 r/vscode
11
3
February 8, 2024
🌐
It's FOSS
itsfoss.com › vs-code-github
How to Connect GitHub to VS Code [Step by Step]
February 10, 2025 - One way would be to go to the Source Control view in VS Code. If Git is not installed, it will ask you to download it. Another thing is that you should have the Git username and email configured. VS Code comes builtin with GitHub integration.
🌐
Reddit
reddit.com › r/webdev › using github and vs code?
r/webdev on Reddit: Using github and VS Code?
May 8, 2024 -

Hey everyone!

I know i’m going to sound pretty stupid for this but i’ve looked all over youtube and all of the videos are from years ago or don’t really explain it well in my opinion. Can someone here explain to me in the most basic terms how to use github and vs code together so that i’m able to access my code from both my laptop and desktop

update: thank you so much everyone! i was able to figure it out

🌐
Straygoat
straygoat.co.uk › freelance technical writer › blog › set up git and github to work with visual studio code
Set up Git and GitHub to work with Visual Studio Code - Straygoat
July 27, 2025 - Learning how to set up Git and GitHub to work with Visual Studio Code. Covers the installation and setup steps, including how to create and clone a repo.
🌐
DEV Community
dev.to › kougou › how-to-connect-vscode-to-github-1nip
How to Connect VSCode to GitHub - DEV Community
April 8, 2025 - Select “Sign in to GitHub” from the menu. A browser window will open with the GitHub authentication page. Log in and authorize access. Once authentication is successful, VSCode will be connected to your GitHub account!
Find elsewhere
🌐
TechRepublic
techrepublic.com › home › developer
How to add a GitHub repository to VS Code
February 9, 2024 - Click Allow, and your default browser will open. If you’ve not already signed in to your GitHub account, do so. Upon successful authentication, you’ll be redirected back to VS Code, where you’ll see the extension is now connected to your GitHub account and is ready to use (Figure D).
🌐
Visual Studio Code
code.visualstudio.com › docs › sourcecontrol › quickstart
Quickstart: use source control in VS Code
November 3, 2021 - Open the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)) and run Publish to GitHub.
🌐
GitHub
github.blog › home › developer skills › github for beginners: getting started with git and github in vs code
GitHub for Beginners: Getting started with Git and GitHub in VS Code - The GitHub Blog
May 25, 2026 - So what is Git? Git is the program for managing that source code, and it can be used in multiple different ways (e.g., from the command line, through VS Code, etc.). Visual Studio Code, often abbreviated as VS Code, leverages Git to enable you to manage your code in GitHub.
🌐
git-for-beginners
ammonshepherd.github.io › git-for-beginners › vscode-github.html
Getting Git for Beginners | VS Code and Github
Or you can click on the Open Folder button and browse to the folder you selected before and select that folder. This is the process for opening this folder from this point on if the VS Code application is closed. Now VS Code is connected to the GitHub repo and we can start adding files in VS Code.
🌐
Microsoft
visualstudio.microsoft.com › vs › github
Visual Studio and GitHub - Microsoft
July 15, 2026 - Authenticate your GitHub.com or GitHub enterprise account to create a repository, and push your first commits to GitHub, all through Visual Studio.
🌐
TMS Outsource
tms-outsource.com › home › how to connect vscode to github easily
How to Connect VSCode to GitHub Easily
September 3, 2026 - This workflow is central to any software development process using Git. Confirm everything works by checking these three things: GitHub repository page: Visit github.com/username/repo-name and verify your files appear · Commit history: Source Control panel > Three dots menu > View History shows your commits · Status bar: Bottom-left of VSCode shows branch name and sync status (cloud icon) All three check out? Your VSCode-GitHub connection is working.
🌐
DEV Community
dev.to › surajondev › connect-your-github-to-vs-code-1n71
Connect Your Github To VS Code - DEV Community
April 21, 2025 - Git: Download and Install Git and login to your GitHub account. ... After downloading when you open VS Code, we need to download the extension to connect VS Code and GitHub.
🌐
GitProtect.io
gitprotect.io › strona główna › github with visual studio code guide
GitHub with Visual Studio Code Guide - Blog | GitProtect.io
January 19, 2022 - Furthermore, VS Code is actually a desktop application and GitHub is accessed through the web. That permits users to code using any of their devices connected to the internet.
🌐
GitHub
vscode.github.com
GitHub and VS Code | Bring your favorite tools to all the places you code
You can see the Git commit history of a specific file in the Timeline view. Choosing a commit opens up the diff view of the changes from that commit. Easily copy the commit Id or commit message to help you go to important points in your code's
🌐
JC Chouinard
jcchouinard.com › accueil › how to install git and github in vscode (with example)
Install Git and Github in VSCode (Visual Studio Code)
April 4, 2025 - The first step to being able to use Github with VSCode is to set-up Git on your computer and enable in it VSCode. This post will show you easy steps to Learn git with vscode by JC Chouinard
🌐
Adam the Automator
adamtheautomator.com › visual-studio-code-github-setup
Visual Studio Code GitHub Setup: A Beginner's Guide
December 18, 2024 - To get your Visual Studio Code GitHub setup working, you’ll need to work with Git. Visual Studio Code comes installed with a built-in extension for source control using Git. There are many configurations available with the Git extension.