Visual Studio seems to be using git for version control, which is consistent with the github client, which sees your version history and makes it much simpler: all you have to do is change the remote link to point to your github repository.
Github has some pretty good instructions on changing the remote here . To summarize the important bits, from the command line, run:
cd <root directory of your local repository> git remote set-url origin https://github.com/USERNAME/REPOSITORY.git git fetch
Replace USERNAME and REPOSITORY with the appropriate values, and to start the fetch, you should provide your github credentials to confirm that it worked.
source share