Bit Bucket VS GitHub
Today I am going to share my knowledge about Bit Bucket and GitHub which provide hosting services for source code and projects. We can create projects and repositories for those projects on anyone of these hosting services to share code with all team members. We can use Git or Mercurial commands for controlling source code versions in code repository.
Bit Bucket and GitHub are two of the most used hosting services for source code and projects development. Unfortunately, Both of them do not support popular version-control system SVN to manage code in repository. Both use different approaches for managing private and public repositories.
GitHub:
GitHub only hosts those projects which use Git VCS (Version Control System). Although Git is far away from the most commonly used VCS (SVN), GitHub is still the largest code host with some 13.7 million plus repositories of code.
GitHub was started in 2008 and was written in both Ruby and Erlang. GitHub is designed to encourage close communication and collaboration within development teams. GitHub has features like highlighted code comments and collaborative code review. Other features of GitHub are as below mentioned:
An integrated issue tracker right within your project
Milestones and labels within projects
Branch comparison views
Native applications for Windows and Mac desktops, and also an Android app
Support for over 200 programming languages and data formats
GitHub pages, a feature for publishing and hosting within GitHub
Security such as SSL, SSH and https for all data transmission and two factor authentication for login
API integration for easy integration of 3rd-party tools and platforms. Some examples are Asana and Zendesk for issue tracking.
GitHub guys provide a tool to import SVN repositories into Git and host them on GitHub
Git Hub does not charge any cost for public repositories unlike Bitbucket and it does not allow to create private repository free of cost. GitHub allows unlimited number of collaborators. GitHub allows unlimited number of collaborators for private repositories grouped into the following paid plans.
Bit Bucket:
Bit Bucket has an advantage over GitHub that it supports mercurial VCS as wel as Git. It also does not support SVN. Bit Bucket is written in python and it uses Django web framework.
BitBucket was also launched in 2008 in Australia. In the beginning, it was an independent startup which offered hosting for those projects that could support mercurial VCS. Fellow Australian company Atlassian acquired it in 2010 and after one year they added support for Git repositories to Bit Bucket.
Jira is a popular project and issue managing app which can be integrated with BitBucket very well. Other features are:
Pull requests and code reviews
Unlimited private repositories
Branch comparison and commit history
Bit Bucket SourceTree is used for Mac and Windows and Bit Beaker app is used for Android to manage source code versions
BitBucket for Enterprises, called Stash
Integration with tools like Jira, Crucidble, Bamboo and Jenkins
Bit Bucket has different pricing structure than GitHub. Bit Bucket charge per user whereas GitHub charges per repository. Bit Bucket allows unlimited public repositories for all. It also allows unlimited private repositories for free of cost for up to 5 users. Bit Bucket has following pricing plans for its users:
Conclusion:
If you want to use a Git VCS then Bit Bucket and GitHub are very closely matched in terms of features. If you want to use only Mercurial then you have no choice other than Bit Bucket. Each has some useful features not found in the other, such as GitHub pages for small web-hosting projects, or Bit Bucket’s JIRA integration.






