
With how many free hosted git providers there are, such as GitHub, GitLab, and Bitbucket, it doesn’t make much sense to do it yourself.

If you want to set up source control for a project, but prefer not to host it on a service like GitHub, you can run your own git server on a VPS to store your code and act as a master repository for any collaborators.
