The right choice boils down to a number of factors -- you might even consider using both
The question is not "Do I host my source code?" If you're a one-person shop, the answer should be yes. If you're a midsized consulting firm, the answer should be yes. If you're a huge distributed product company, the answer should be yes. You get the picture.
The real question: "With whom do I host my source code?" The answer to that question is not as straightforward as the first and will require more thought and research.
[ Get the most out of version control, download our Quick guide: 20 tips and tricks for Git and GitHub users. | Learn how to work smarter, not harder with InfoWorld's roundup of all the tips and trends programmers need to know in the Developers' Survival Guide. Download the PDF today! | Keep up with the latest developer news with InfoWorld's Developer World newsletter. ]
At the company I work for, we hosted our own source code up until a drunk driver ran into our office building, and shortly thereafter we faced the same question. We did some preliminary research that narrowed our choices down to GitHub and Bitbucket, but there wasn't a clear winner between the two. Here are some points to consider when picking the right source code hosting solution. The points are listed roughly in order of importance. The first points are critical, while the last points are icing.
Which RCS (revision control system) you use could end the search for you right off the bat. Bitbucket officially supports Git and Mercurial. There's been a rickety solution for Subversion users on Bitbucket, but it's too flaky and will be removed on Oct. 1.
GitHub supports Git, end of story. If you've been using Subversion and you want to change, GitHub posts instructions for making the transition.
Bitbucket vs. GitHub: Revision control support
We had been using Subversion, so we were out of luck for both GitHub and Bitbucket. We had been considering a switch to Git but had no logical reason to undergo that sort of transition. Our cloud exodus was going to be a migration project in any case, so we chose to make the switch to Git as a part of it.
Public vs. private
Both GitHub and Bitbucket support public and private repositories, so you can't rule out one or the other based simply on feature set. Your needs here, however, will determine which of the next two factors will be more important to you. If you have mostly public projects, then community involvement will have more weight in your decision. On the other hand, if you're dealing with more than just a few private projects, then the pricing model will be a more important detail.
Android 5.1 fixes a lot of what's wrong in 5.0.
Macworld goes hands-on with Apple's thinnest, just-announced laptop. It's so thin, it can only fit a...
With only the third CEO in the company's history, Microsoft did not want to remain complacent and on...
Sponsored by Nuage Networks
Sponsored by Fibre Channel Industry Association
Windows 10 betas are coming fast and furious. Discover what Microsoft has released so far
An open, fully connected environment is impossible and dangerous, which is why IoT is really a...
Your personal brand is the set of unique talents, skills and personality that makes you exactly the...
The upcoming version of the server-side scripting language has provided 100-percent-plus performance...