Publish your code into Team Foundation Service
You are ready to share your code with your teammates. In order to collaborate on this code, you'll need to publish your local repository to a new team project. (And yes, you'll need Internet for this part.)
Create a team project
-
Go to your TFS account home page - https://[your account].visualstudio.com - to create a team project.

-
Name your project, choose a process template, and select Git.

-
Navigate to the new team project.

Connect to your team project
-
Connect to your team project from Visual Studio Team Explorer.
If you have not yet connected to your Team Foundation Service account, then you need to add it to your list.
If you are prompted to sign in to Team Foundation Server, go ahead and do that. Then select your new team project.

-
Publish your local Git repository into your new team project.
You have shared your code with your team.

Try this next
Or, dig deeper
Sign up now