One of the solutions would be to use Visual Studio Team Services to manage the source code of your project through of the Git or TFVC . It's free for up to 5 users.
2.Createanewproject.
3.AftercreatingtheaccountuseittologintotheVisualStudioIDE.
4.ConnecttoTeamFoundationServer(VisualStudioTeamServices).
5.Connecttotheaddressyoucreatedinstep1.
6.SelecttheprojectthatwascreatedandclickConnect.
Once you've done this, you can now centrally manage your project by logging in with the same account on the other computer and using the IDE's resources. It's important now to learn how project mapping and check-in resources, Get Last Version, work to get control of the source code.