2
A Git server hosts the repository of a project, which contains the source code and other core files. While, for the most part, you can rely on globally known Git hosting services like GitHub, in some cases, it is better to host your personal Git server for added privacy, customizability, and security.