

(Or, you can select Cancel if you'd like to save the info later.) Select Save to add the info to your global. You can either add your information or edit the default information it provides. You might be asked for your user sign-in information in the Git User Information dialog box. Clone a GitHub repo and then open a projectĮnter or type the repository location, and then select Clone. Here's how to use Git in Visual Studio 2019 version 16.8 or later. Visual Studio 2019 version 16.8 and later

Specifically, if you've installed version Visual Studio 2019 version 16.8 or later, there's a new, more fully integrated Git experience in Visual Studio available to you.īut no matter which version you've installed, you can always open a project from a GitHub repo with Visual Studio. How you open a project from a GitHub repo by using Visual Studio depends on which version you have. Open a project from a GitHub repo with Visual Studio 2019 In the Browse a repository section, select Azure DevOps.įollow the prompts to clone an Azure DevOps repo that includes the files you're looking for, and then open your project. On the start window, select Clone a repository. Here's how to browse to and clone an Azure DevOps repo by using Visual Studio. To do so, choose the Select Repository control, select the ellipsis icon that's next to the Filter repositories box, and then select Open Local Repository.įollow the prompts to connect to the Git repository that has the files you're looking for. In the Visual Studio IDE, select the Git menu, select Local Repositories, and then select Open Local Repository.Īlternatively, you can perform the same task from Solution Explorer. In the Visual Studio IDE, select the Git menu, and then select Clone Repository.įollow the prompts to connect to the Git repository that includes the files you're looking for. You can also use the Git menu or the Select Repository control in the Visual Studio IDE to interact with a repository's folders and files. If you've opened the project or solution recently, select it from the Open recent section to quickly open it again.
