Prerequisite links suggested for better understanding this article:
GIT-Let’s Get into it
Github to host static page
There is a huge open source community backing of GitHub and no matter what, nothing beats GitHub when we talk about user experience and interface, reliability, and everything’s just apt and perfect!
There’s a catch! In the free plan at GitHub, you can have only public repositories. Now that means that, if you are a developer and want to host your code on GitHub without choosing any of their paid plans, your project will be in a public repository. That simply means, your code will be public. Well that’s perfect for open source development, but for enterprises, needs differ.
Everyone won’t be looking to open source their work, they might be just wanting a code hosting service where they can collaborate and code. So your code has to public? No, you can have a private repo without paying GitHub, we got Bitbucket to serve this purpose.
Bitbucket offers unlimited free private repositories whereas GitHub charges for them. Public repositories are unlimited and free in both Bitbucket and GitHub to an unlimited number of contributors. At Bitbucket, a catch is that only 5 collaborators can collaborate on free private repositories. Well that can be problem though, but it helps in college projects in which the collaborators are your 4-5 friends.
Step 1 Sign up at Bitbucket and set a username and then choose your plan.
See how you can create a 5 user team account too! A team account, how cool is that!
Step 2 Fill up all the details.
Step 3 You’re done setting up! Time to check out the Bitbucket dashboard.
Now let’s see how to create a repository.
a) Click on the create a repository button on Dashboard.
b) Check the Access level checkbox
c) In Forking dropdown, select “Allow only private forks”
Done! You just created a private repository!
Creating a TEAM on Bitbucket
Step 1 On Dashboard in the Team dropdown, Click on “create a team”.
Step 2 Now super simple! Just fill the team details, and add the team members!
Step 3 Done! Time to rejoice the Team Dashboard page!
Now you can use Bitbucket to save your code in private repositories, collaborate on team projects with friends, and code something really awesome!!
You can put your doubts in comments section, I’ll get back to you.
About the Author: Hemang Kumar is an open source developer and a sophomore at USICT, New Delhi pursing BTech CSE, loves to design code, web and user interfaces.He can be reached at https://www.linkedin.com/in/hemangkumar
If you also wish to showcase your blog here,please see GBlog for guest blog writing on GeeksforGeeks.
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses
are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!