Benefits for hosting Git in VSTS vs. Github?

advertisements

I have been looking around for some documentation on the benefits (or caveats) to hosting a Git Repo in Visual Studio Online vs Github. Are they basically interchangeable? I am just referring to personal projects without many collaborators.


If you are using it only on this one computer, you can use git. Github basically is a hosting server for git repositories. All code hosted there is public (unless you pay for it).