

This will populate the explorer with the structure of the repo. Select and open the folder of the repo we just cloned. In VS Code, click on the Explorer tab (the top one – looks like some files) and then click Open Folder. Nice work! This has put in a folder of the same name as your repo in the folder you ran the clone. You may be asked to authenticate with Team Services, but after you should see something like this… Remember when ASCII art was cool? Now open a command prompt and navigate to the folder you would like to put your cloned repo. If you look to the right of the Files you will come across a Clone button, click it and copy the Clone URL. You should see something like below, which is my simple Git repository, complete with just a readme file. In Visual Studio Team Services, navigate to the Code > Files section of your project.

Step 3: Before running the Clone command, we would be running the following command to cache the Git Credentials in Windows, else whenever Git Sync/Pull/Push command is triggered, it will ask for credentials. Let's say we would like to clone under C:/Git/ and suppose the remote repository name is sg_angular. Step 2c: Navigate to the directory (Use DOS CD command) where the remote Git repository needs to be cloned. Step 2b: Go to View > Integrated Terminal

NET Framework 4.5 from Web Installer or Offline Installer. If not, please download & install Git for Windows from. After playing with VSC for some time, I found the way to configure VSC with Git in just 5 steps which were easy and straight forward.īefore starting to follow the below 5 steps, please make sure that Git is installed on your system.
