How to clone git project with Visual Studio Code

Here is how to clone remote Git repository with Visual Studio Code into a local folder

Open Visual Studio Code Go to Top Menu -> Files -> Open Folder Select the folder you would like to download the cloned project Go to Top Menu -> View -> Integrated Terminal Velin Georgiev blog image Execute 'git clone' command with the path to the repository you would like to clone in the integrated terminal. Example:
git clone
If it requires credentials to login then the integrated terminal will ask for username and password. Here is the complete output:
C:\Projects\TestProject>git clone
Cloning into 'rouge'...
github --credentials get: github: command not found
Username for '': [email protected]
Password for 'https://[email protected]':
github --credentials store: github: command not found
github --credentials store: github: command not found
remote: Counting objects: 1082, done.
remote: Compressing objects: 100% (1000/1000), done.
Receiving objects: 100% (1082/1082), 3.98 MiB | 301.00 KiB/s, done.cts:  87% (942/1082), 3.88 MiB | 299.00 KiB/s

Resolving deltas: 100% (587/587), done.

The cloned files are already available into the local folder. Velin Georgiev blog image Cheers, Velin
Revathi | 24 May 2018

It is very use full to me.Thank you.

Samuel | 11 Sep 2018

i have a problem:

remote: HTTP Basic: Access denied
fatal: Authentication failed for

Samarth Shete | 01 Dec 2020

Thanks you it's very useful for