Skip to content

Instantly share code, notes, and snippets.

@juderosen
Last active April 25, 2024 15:16
Show Gist options
  • Save juderosen/8410710 to your computer and use it in GitHub Desktop.
Save juderosen/8410710 to your computer and use it in GitHub Desktop.
Git Wars: GitHub vs Bitbucket

Git Wars: GitHub vs Bitbucket

Introduction

Now, you might think the answer I'm going to give you is already obvious because I'm using GiHub right now, but it's not. Both GitHub and Bitbucket offer great Git services, but each has its own features and pricing plans. In the following... thing, I'm going to compare the two and then offer a final solution that should work for most people.

TL;DR: Both. Use GitHub for open source and public repos (you'll spend most of your time here) and Bitbucket for private repos. But, sign up for GitHub first, then import account into Bitbucket. Also, check comments for updates. P.S. I personally prefer GitHub.

Interface and Functionality

Both Bitbucket and GitHub really have the interface and functionality pinned down. They both can do basically whatever you need, while getting out of your way, being easy to use and looking awesome, so that's not much of a consideration. The only gripes I have with GitHub are that they are a little inconsitent with their editors and I cannot set the language of my repo, like in Bitbucket. For Bitbucket, though, I find the interface a little less pretty and a little harder to navigate. Again, all concerns here are pretty insignificant, as both do excellent jobs.

Bitbucket Homescreen

Bitbucket

GitHub Homescreen

GitHub

Public Repos and Open Source Development

GitHub is the clear winner here. Unlike Bitbucket, it doesn't limit the number of contributors and has way more users. Also, it hosts a large number of major projects, like Linux and jQuery. So, if all you do is open source development and nothing else, go with GitHub.

Private Repos

Bitbucket is the clear winner here. Unlike GitHub, you can create an unlimited number of private repositories. So, if all you want is a fancy Dropbox and nothing else, go with Bitbucket.

Pricing and Plans

Bitbucket

From https://bitbucket.org/account/user//plans/.

All plans have:

  • Unlimited private repos
  • etc.
Free $10 / mo $25 / mo $50 / mo $100 / mo $200 / mo
5 Users 10 Users 25 Users 50 Users 100 Users Unlimited Users

GitHub

From https://github.com/pricing.

All plans have:

  • Unlimited collaborators
  • etc.
Free $7 / mo $12 / mo $22 / mo $50 / mo
0 Private Repos 5 Private Repos 10 Private Repos 20 Private Repos 50 Private Repos

(unfortunately, no unlimited plan :()

Note on Enterprise and Organizations

Yes, I know they are different, but I'm not counting them. I'm looking at the personal plans because that's what most people will go for.

Conclusion

So, what should you get? Well, that really depends upon you, of course, but the way I see it: Both. Let's, for a moment, say you want to go for a free plan, but you're not sure which site to use. If you sign up for GitHub then import your GitHub account in Bitbucket, you're good to go! For all your public/open source/social stuff, use GitHub. For your private repos that few will see, use Bitbucket!

If you're going for a paid plan, that really depends upon you're budget and needs. You should then consider looking into organization and enterprise plans, as well. This is a more difficult choice. In the end, it's what is best for you.

Notes

External stuff

Be sure to check out the following internet thingies:

Modification and Changey-things

Because I do not control any external resource listed here (except maybe Uppagus <-- Shameless plug, please excuse :P), I cannot guarentee their up-to-date-ness. They will probably change. If they do, I will try to keep up with them, but before buying anything, check with the respective company. GitHub and Bitbucket may change their prices behind my back (as they do). If you (the reader) notice some discrepencies with the offical sources, please let me know, and I will update accordingly.

Spelling/Grammar

I suck at spelling. Please let me know if I have mspelled anything. I'll correct it. Same goes for grammar.

@ieb-mark
Copy link

Bitbucket does not provide the ability to search source code. There is a ticket to resolve, however it has been open since 2011.

It is also possible to tag pull requests with labels in GitHub.

The graphs feature is entirely missing from Bitbucket.

@denisdenes
Copy link

I guess you have to update this, check it out here: https://github.com/blog/2164-introducing-unlimited-private-repositories

@palypster
Copy link

palypster commented May 18, 2016

For a team of 25 users you pay 25$/month on Bitbucket but 525$/month on GitHub. That's 2100% difference.. wow! Am I missing something?

@murilogibim
Copy link

@palypster with the new pricing plans I think your math is outdated. I'm using the Personal plan and it has already been updated to have unlimited repositories.

If you choose the Personal plan you may have one admin account creating all the repositories and have the other 25 users invited to collaborate. The admin account is billed for 7$ a month and the other users don't get billed.
If you choose the Organization plan you will pay 25$ for the first 5 users and an additional 9$ for each developer you include in your organization. 25$ + (9$ * 20) = 205$ per month.

Please, someone correct me if I got anything wrong:
https://github.com/blog/2164-introducing-unlimited-private-repositories

@RileyMajor
Copy link

I forked this, fixed a spelling error, and updated the pricing tables to reflect GitHub's new pricing system.

https://gist.github.com/RileyMajor/0113512628b694a91f6bcebd753ad9db

Copy link

ghost commented Jul 28, 2016

Bitbucket will not be importing GitHub accounts, Facebook accounts, or Twitter accounts in the future.

https://bitbucket.org/account/signin/?next=/account/signup/#social-auth

@h3ct0rjs
Copy link

Gitlab seems a great option, this should be mentioned in this gist

@Barium
Copy link

Barium commented Sep 12, 2016

BitBucket supports mercurial, which is the selling point for me, I much prefer the command line for mercurial, I like the simplistic interface of GitHub more though.

@ArrowsFlying
Copy link

This is not accurate anymore.

https://github.com/pricing
"Our pricing options have changed

All paid plans now include unlimited private repositories, and organizations can pay based on their team size, not on how many repositories they use."

@iszen
Copy link

iszen commented Nov 4, 2016

"The only gripes I have with GitHub are that they are a little inconsitent with their editors..."
misspelled inconsistent

Thanks for the post 👍

@mmahmoudian
Copy link

Regarding Github pricing table, I forked your gist and modified that part. (consider this as pull request ;) )

https://gist.github.com/mmahmoudian/2ae884ba7e339223bead1271cb327096

@HankB
Copy link

HankB commented Nov 25, 2016

Thanks for the info. I have personal (free) accounts on both. At the moment I'm using Github the most and it is for public repos. I guess I'm using it right. I don't think anyone looks at them but that's not important. :D

I'm also using Bitbucket at work. One thing that drives me nuts is their markdown renderer. There are so many things that break. In particular, code examples are almost never rendered as code examples. I consider a decent README an important part of my efforts and find myself constantly battling with Bitbucket to accomplish what I want.

Does this render as code?
Wheee! It works!

I'm also a bit surprised that neither provides the ability to handle merge conflicts on the web site. The instructions on Bitbucket is to deal with that locally and push the results. I guess I should be happy that I can edit my README.md on the site so I can see immediately how it mangles my markdown. <rolls eyes>

@jonico
Copy link

jonico commented Feb 23, 2017

'm also a bit surprised that neither provides the ability to handle merge conflicts on the web site. The instructions on Bitbucket is to deal with that locally and push the results. I guess I should be happy that I can edit my README.md on the site so I can see immediately how it mangles my markdown.

@HankB: Now merge conflict resolution in the UI shipped on GitHub

@rkd-me
Copy link

rkd-me commented Mar 4, 2017

The GitHub screenshot is outdated. :)

@dompling7
Copy link

"If you're going for a paid plan, that really depends upon you're budget and needs" (https://gist.github.com/foogit/8410710#conclusion) should be "If you're going for a paid plan, that really depends upon your budget and needs".

@smcstewart
Copy link

Brand spanking new pricing model for GitHub now... including unlimited repos for $7 / month. Still more expensive than BitBucket, however.

@sparcut
Copy link

sparcut commented Nov 29, 2017

The irony of posting Github vs Bitbucket on Github.

@Julia991
Copy link

I could also recommend you the research about three repositories - GitHub vs BitBucket vs GitLab: Developers' Research

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment