How to Connect to a Local git repo in Visual Studio?
I don’t see my local gir repositoy in the local git repositories list inside Visual Studio, how can I add my local git repo and open it in Visual Studio?
![](https://i0.wp.com/www.atvisualstudio.com/wp-content/uploads/2019/05/image.png?resize=750%2C525&ssl=1)
I have a repository called “TinyEditor” located on my local computer at c:\temp\TinyEditor
Clicking on the “Add” button, and typing in any path will cause Visual Studio to search for all repos under that path. I type in “C:\temp”, and the repository inside of “C:\temp\TinyEditor is added to my local VS repos.
![](https://i0.wp.com/www.atvisualstudio.com/wp-content/uploads/2019/05/reposearch.png?resize=750%2C413&ssl=1)
Result of clicking add below. The repository has been added.
![](https://i0.wp.com/www.atvisualstudio.com/wp-content/uploads/2019/05/repossearch2.png?resize=750%2C454&ssl=1)