Say I have my existing VS2015 code in C:\Proj1, and I have created a repository in C:\Repo\Proj1.
Now I want to connect my project at C:\Proj1 to the Repository at C:\Repo\Proj1.
The problem is when I click on the Publish button in the lower right end of VS2015 window, of VS2015 project (loaded from C:\Proj1), it creates the GIT Repository locally inside my project directory (the hidden .git directory, attributes and ignore files). Instead of connecting to the local .git repository, I would like to connect to the repository at C:\Repo\Proj1, everytime I open/use my VS2015 project in C:\Proj1
I am using VS2015 (SP3) on Win10.
How to do it? Thanks in advance...