Bitbucket is a Git-based source code repository hosting service owned by Atlassian. Bitbucket offers both commercial plans and free accounts with an unlimited number of private repositories.
In this post, we will create a Bitbucket code repository.
Prerequisites
Create Repository
When you log in to the Bitbucket, you will see a similar dashboard. Click on Repositories.

Click on Create Repository.

Fill out the required fields –
- Project name – Give the name of the project
- Repository name – Give the name of the repository inside the project
- Access Level – Uncheck to make this repo public
- Include a README – It is completely optional. If your source code contains this file, then you don’t have to create it here.
- Default branch name – Leave it blank unless you want to specify the default branch
- Include .gitignore – If your source code contains this file, then you don’t have to create it here.

Open the Advanced settings option if you want to add the description to your repo. Else click on Create repository.

This will create a new repo on the master
branch if not specified some other branch in the above form. Clone this repo or push your existing code to it.
