Why private git server on DO

  • Posted November 25, 2013

Reading this article about setting up a private git server on DO, I’m wondering why one would do it. The article says,

“This can be a great option if you want to keep your code private while you work. While open-souce tends to be the status quo, there are some times when you don’t want to have your code freely available.”

However, github has private repos (which ou’d have to pay for). However, since you pay for the DO server, is there an advantage I’m not aware of ?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hosting your own Git server is an attractive option if you want or need full control over the software and some control over the hardware that stores your data. As Pablo mentioned, I’ve also seen GitHub go down once or twice in the middle of a deployment, which was less than convenient. In addition, enterprise companies usually try to keep everything in-house, which means using a host that you have more control over or hosting the Git server internally all together. As a side note, GitLab is a really nice product:

Advantage? Probably not huge. I would compare it to asking for the advantage of Burger King over McDonalds. <br> <br>What’s the cost per GB on GitHub? Also, I vaguely remember some rumblings of GitHub going down and being inaccessible a while back; bolstering the point that one should not put all their eggs in one basket and have a backup Git server. <br> <br>Just some random thoughts…