
Find the repo you want to sync with, and in the green Clone or download button, find the Clone with HTTPS URL. So, jump over to a web browser, go to, and login with your credentials.
The next step in the Command Palette is to provide a Repository URL, and in this example, we’ll be using a GitHub repo. In the Command Palette, type the following command: > Git: Clone and press Enter. In VS Code, open the Command Palette by going to View > Command Palette… (or use the keyboard shortcut CTRL + SHIFT + P). Naturally, this process assumes that you’ll be connecting to GitHub and that you already have an active account. Now, let’s integrate VS Code with a GitHub account. Now that VS Code has reloaded, we can see that the PowerShell extension is now installed!. This will reload the VS Code app with the installed extension. Once the PowerShell extension has been installed, click the blue Reload button. The installation only takes a short time to complete. Highlight the PowerShell extension and click on the green Install button. In the Search Extensions in Marketplace search bar, type in PowerShell and hit Enter. Open the Extensions menu by going to View > Extensions (or use the keyboard shortcut CTRL + SHIFT + X). Launch VS Code (possibly for the first time, as seen in this screenshot):. Now that VS Code is installed, let’s install the PowerShell Module so that it can properly understand PowerShell scripts and *.ps1 files.
For me, this part was really the meat and potatoes of getting VS Code to integrate with Git and GitHub. Now that PowerShell has been upgraded, and we installed both Git and VS Code, let’s go ahead and configure our environment for synchronization with GitHub.