Starting from the 1.8 (November) update of vscode you can now clone your Git repository from within the vscode.

You can execute it from the Command Palette. Press F1 (or ⇧+⌘+P on Mac) and search for Git: Clone. Confirm the command and paste the repository url.

Answer from Jakub Synowiec on Stack Overflow
🌐
Visual Studio Code
code.visualstudio.com › docs › sourcecontrol › repos-remotes
Working with repositories and remotes
November 3, 2021 - To browse repositories on GitHub, select Clone from GitHub, sign in when prompted, and choose a repository from the list. Cloning a public repository by URL doesn't generally require signing in.
🌐
GeeksforGeeks
geeksforgeeks.org › git › how-to-clone-a-project-from-github-using-vscode
How to Clone a Project From GitHub using VSCode? - GeeksforGeeks
May 16, 2024 - Visual Git Interface: VSCode offers a visual interface for Git operations, making it easier to manage repositories, branches, and commits. Seamless GitHub Integration: With VSCode's GitHub integration, developers can browse, clone, and manage GitHub repositories without leaving the editor.
Discussions

Where is VS Code cloning a git repository? - Stack Overflow
I was not able to do so as I saw ... of using git clone and extract is locally to make the code work. ... Save this answer. ... Show activity on this post. You can do explorer.exe . in your terminal to see the absolute path of the folder you are currently in. It should be something like C:\. If you want to clone the repository elsewhere, ... More on stackoverflow.com
🌐 stackoverflow.com
How to "git clone " in Visual studio code - Stack Overflow
The "ssh -T git@github.com" also said I've successfully authenticated. 2022-07-22T06:00:28.75Z+00:00 ... What do you mean by the first sentence? The windows user account? Yes, this is my only account on my computer 2022-07-22T06:17:02.913Z+00:00 ... @Ray You need to clone the repository in a new ... More on stackoverflow.com
🌐 stackoverflow.com
github - How do I connect to my existing Git repository using Visual Studio Code? - Stack Overflow
Type “git clone” and paste the link in addition i.e “git clone https://github.com/...” · This will open the repository in your Vs Code Editor. ... This will clone the repository to whatever directory your terminal is currently open at. I am not sure that just randomly filling up your ... More on stackoverflow.com
🌐 stackoverflow.com
[deleted by user]
Command line: git clone https://... More on reddit.com
🌐 r/vscode
6
0
September 4, 2024
People also ask

How to clone a GitHub repository in VS Code?
Open VS Code, press Ctrl + Shift + P, select Git: Clone, paste the repository URL, and choose a local folder.
🌐
multicaretechnical.com
multicaretechnical.com › home › computer-tips › how to clone a github repository (beginner-friendly guide)
How to Clone a GitHub Repository (VS Code, Windows, Mac, Terminal)
How do I clone a GitHub repository?
You can clone a GitHub repository by running the command git clone followed by the repository URL in Terminal, Git Bash, or any supported IDE.
🌐
multicaretechnical.com
multicaretechnical.com › home › computer-tips › how to clone a github repository (beginner-friendly guide)
How to Clone a GitHub Repository (VS Code, Windows, Mac, Terminal)
Can I clone a GitHub repository on Windows?
Yes, you can clone a GitHub repository on Windows using Git Bash, VS Code, or any Git-supported IDE.
🌐
multicaretechnical.com
multicaretechnical.com › home › computer-tips › how to clone a github repository (beginner-friendly guide)
How to Clone a GitHub Repository (VS Code, Windows, Mac, Terminal)
Top answer
1 of 2
1

You can do explorer.exe . in your terminal to see the absolute path of the folder you are currently in. It should be something like C:\<some more stuff here>.

If you want to clone the repository elsewhere, then make sure Powershell is open in your Terminal, cd into the folder you want it to be in and git clone it there. As an example:

cd C:\Users\<your windows username>\Documents\;
git clone https://github.com/Azure-Samples/cognitive-services-speech-sdk.git;

If the first line doesn't work then that means you're in a linux terminal for which you can do:

cd /C/Users/<your windows username>/Documents;
git clone https://github.com/Azure-Samples/cognitive-services-speech-sdk.git;
2 of 2
1

When cloning a repository with the command palette, VS Code clones the repo in the path specified in the setting git.defaultCloneDirectory (/home/vscode/ might be proposed because set in this config variable). If git.defaultCloneDirectory is not set, VS Code clones the repository in the user's folder. On Windows, this corresponds to C:\Users\<Your-User>\.

If you want to specify a path for git.defaultCloneDirectory, just go to File > Preferences > Settings and then, either search for git.defaultCloneDirectory, or browse to Extension > Git > Default Clone Directory.

As a side note, if you clone a repository from VS Code bash without supplying a destination directory, the repo is always cloned in the user's folder, even if git.defaultCloneDirectory is set. git.defaultCloneDirectory is used only with the command palette.

🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › developer › javascript › how-to › with-visual-studio-code › clone-github-repository
GitHub Repositories in Visual Studio Code for JavaScript - JavaScript on Azure | Microsoft Learn
Open the command palette with the key combination of Ctrl + Shift + P. At the command palette prompt, enter gitcl, select the Git: Clone command, then select Clone from GitHub and press Enter.
🌐
ShellHacks
shellhacks.com › home › how to clone git repository in visual studio code
How To Clone Git Repository In Visual Studio Code - ShellHacks
January 18, 2022 - A Visual Studio Code (VSCode) has an integrated source control management (SCM) system and supports Git out of the box.
Find elsewhere
🌐
Visual Studio Code
code.visualstudio.com › docs › sourcecontrol › github
Work with GitHub in VS Code
October 7, 2026 - You can search for and clone a repository from GitHub using the Git: Clone command in the Command Palette (⇧⌘P (Windows, Linux Ctrl+Shift+P)) or by using the Clone Repository button in the Source Control view (available when you have no ...
🌐
Multicare Technical
multicaretechnical.com › home › computer-tips › how to clone a github repository (beginner-friendly guide)
How to Clone a GitHub Repository (VS Code, Windows, Mac, Terminal)
December 16, 2025 - Whether you’re working on a team project, testing open-source code, or building your own app, cloning lets you copy a project from GitHub directly to your computer in seconds. In this step-by-step guide, you’ll learn how to clone a GitHub repository to your local machine using Terminal, Git Bash, VS Code, IntelliJ, Eclipse, Jupyter Notebook, and more—on both Windows and macOS.
🌐
JC Chouinard
jcchouinard.com › accueil › how to clone a github repository with vs code (example)
How to Clone a Github Repository with VS Code (Example) - JC Chouinard
November 17, 2023 - This will replicate what you would do from the command line. Type Git: Clone. ... Add the URL that you copied earlier. ... Select the repository location where you want your file to be cloned (folder on your desktop).
🌐
Reddit
reddit.com › r/vscode › [deleted by user]
[deleted by user] : r/vscode
September 4, 2024 - It's not supposed to be there: https://learn.microsoft.com/en-us/azure/developer/javascript/how-to/with-visual-studio-code/clone-github-repository
🌐
Velin Georgiev Blog
blog.velingeorgiev.com › how-to-clone-git-project-with-visual-studio-code
How to clone git project with Visual Studio Code
Open Visual Studio Code Go to Top Menu -> Files -> Open Folder. Select the folder you would like to download the cloned project ... Execute 'git clone' command with the path to the repository you would like to clone in the integrated terminal.
🌐
Atlassian Support
support.atlassian.com › atlassian support › bitbucket › resources › set up and work on repositories in bitbucket cloud › work on a repository
Clone a Git repository | Bitbucket Cloud | Atlassian Support
March 22, 2021 - A. Branches list: Lists your Git branches. B. Files list: Includes all the files in your repository. C. Action buttons: Allows you to interact with the repository. D. Commits list: Includes a list of commits to the repository and details of each commit. E. Selected file: Shows a diff of the selected file. You can also use Visual Studio (VS) Code to clone your repository.
🌐
Medium
medium.com › @melvingrooms › using-ssh-to-clone-a-private-hit-repository-9fbe79a589cd
Using ssh to clone a Private Git repository with VsCode and Git Bash | by Melvingrooms | Medium
August 11, 2023 - Give the key a name, in the box below key paste in the public key you copied from the step above. click add ssh key. ... Go to the repo you wish to clone and select code, copy the ssh link and return to the terminal in vscode.
🌐
C# Corner
c-sharpcorner.com › home › technologies › devops › learn git clone, commit, sync and push changes using visual studio code
Learn Git Clone, Commit, Sync And Push Changes Using Visual Studio Code
October 15, 2022 - Before doing commit or push, We need to do clone the repo. For this go to GitHub repo and copy that repo URL as shown below. Then go back to your VS code and in the section of Source Control and click on Clone Repository as shown below.
🌐
Medium
florapetersen.medium.com › creating-and-cloning-a-new-github-repo-with-vscode-f3578e29eb59
Creating and cloning a new Github repo with VSCode | by flora marina petersen | Medium
July 18, 2021 - Choose the clone repository option and put in your repository’s URL. This URL will be found on your repository’s page on Github. Hit the green “Code” button and simply copy the URL. After pasting that URL into VSCode, it will open up your project. You’ll want to make an initial commit. In the VSCode terminal, type the following:
🌐
ComputingForGeeks
computingforgeeks.com › home › cloning git repository from github in visual studio code
Cloning git repository from GitHub in Visual Studio Code
March 16, 2026 - Once VS Code is launched, you may access the command palette by pressing Ctlr+Shift+P. Then type gitcl there, Git: Clone will appear in the search results; choose it. Next, you will be prompted to provide the repository URL.
🌐
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 - Use Select as Repository Destination to confirm your choice. VS Code will download (clone) the repo to that folder. When prompted, click Open to open the folder in Visual Studio Code. If you're not using VS Code and want to clone a GitHub repo using just the command line: Open your terminal (Mac/Linux) or Command Prompt / PowerShell (Windows).