In this article, we are going to learn how to use the Bitbucket version control system with Visual Studio 2015. One good feature of Bitbucket is that if you have a small team of friends who want to work on a common project and want to share source code with one other, the Bitbucket is for you.
“It’s Free for a Small team up to 5 Users and its Unlimited private repositories”.
Next, we can use Bitbucket as a backup for all applications which we create for learning and doing R&D.


Pre prerequisite for Application
Visual Studio 2015
Create Bitbucket Account
First, create a free account.
For creating an account, visit https://bitbucket.org/account/signup/ site.

After entering Email id, next, click on the Continue button.
After clicking on Continue button, you will see 2 text boxes asking for full name and password. Enter your details; then do captcha verification and finally, click on Continue button.

After clicking on Continue button, it will send an email to the account which you have entered for verification.

Email Verification

After clicking on Verify email address button it will ask for a unique username for Bitbucket Cloud, enter your Unique name and click on continue button.

Wow, we have finally created a Bitbucket Account.

Now we have created a Bitbucket account let’s create a repository.
Creating New repository
For creating new repository click on Create a repository button available on the dashboard.

After clicking on Create a repository button a new screen of Create a new repository will appear to you.

Steps for creating New repository
- For Creating repository enter repository name; for demo purposes I have entered the name “myfirstrepository”.
- Next, we are going to create a Private repository for doing that we need to check the checkbox of Access level.
- Next, do you want a README file in the repository? Then choose the drop down accordingly; there are 3 options in it. If you do not want any option then choose “No”.
- Yes, with a tutorial (for beginners)
- Yes, with a template
- No
- Next Version Control system there are 2 options available in that we are going to choose “Git” for this demo.
- Git
- Mercurial
- Next entering Description for repository if you want.
- Next Forking in this you will find 3 options; for demo purposes I am going to choose “Allow only private forks”
- Allow only private forks
- Allow forks
- No forks
- Next, in project management, there are 2 options. We are not choosing any options. For details of both options to read the given below notes.
- Issue tracking
- Wiki
- Next language (Programming language) if you know in which Programming language your project is going to develop then you can choose a Programming language for this repository.
- For the next integrations you want to enable with HipChat then you can choose this option.
Finally, click on Create repository to create “myfirstrepository” repository.
Notes for details
What is HipChat?
HipChat is a web service for an internal private online chat and instant messaging. As well as one-on-one and group/topic chat, it also features cloud-based file storage, video calling, searchable message-history and inline-image viewing
Referenced from:- https://en.wikipedia.org/wiki/HipChat
What is Forking?
Forking is to take the source code from an open source software program and develop an entirely new program.
Referenced from:- http://whatis.techtarget.com/definition/fork
What is Wikis?
When you add a repository to Bitbucket Cloud, you also get a wiki. The wiki is a simple place to keep documents. Some people use it as their project home page. The wiki is a Mercurial/Git repository, so you can clone it and edit it like any other source files, for example, take a look at the TortoiseHg wiki on Bitbucket Cloud.
What is Issue tracking?
When you add a repository to Bitbucket Cloud, you also get an issue tracker. This is the place to track your project's feature requests, bug reports, and other project management tasks. We keep the Bitbucket issue tracker very simple and yet somewhat flexible. It has just a few configurable fields (component, version, and milestone) – you can use them any way you want.
Referenced from:- https://confluence.atlassian.com/bitbucket/
Snapshot after creating repository

Now if you click on “myfirstrepository” repository you will see Overview page.
In that page, you will see “Get started with command line” heading.
Under that, you can see 2 options.





















Nazeer AhmedPosted Sep 6, 2018, 8:41 AM
I'm not getting an option to choose the option I have an existing project. what to do now? haow can add my existing VS code to BitBucket?
Tridip BhattacharjeePosted Jan 3, 2018, 3:48 AM
I do not know so please tell me bitbucket is free ? i have worked with github. github has two option the free one is public and paid one is private. so if i upload my project to bitbucket then it will be private or public. please guide me. thanks
Tridip BhattacharjeePosted Jan 3, 2018, 3:47 AM
Very nice article. thanks a lot.