How to Create a New Branch using Visual Studio Code

In here you will learn how to create a new branch using Visual Studio Code. It is a boon for those who have been working on VSC. For VSC makes creating a branch extremely simple.

The reason I prefer creating a new branch using Visual Studio Code to Git is that because you can do it in just two clicks. Surprised?

Here’s how:

Steps on How to Create a New Branch using Visual Studio Code

I am assuming that you have already installed VSC, and have setup a repository in place. If you have, and if you have opened your repository folder by doing a File > Open Folder … and selected your repository folder, you might already be on your master branch.

This is the screen you might be seeing:

branch location

Step 1: Look at the bottom leftmost corner of the screen. You might be seeing the branch you are on. Just click on it.

That would open the a menu box right at the center of your screen.

Step 2: Look at the first option and rejoice.

create new branch option

Step 3: Click on Create new branch…

create new branch name

Step 4: In the next step, it will ask you to provide the name. Just enter the name of the branch you want, and press enter as suggested.

how to create a new branch using Visual Studio Code entering branch name

That’s it!

When you do that you will have your branch created. Notice how it replaces the name of “master” in the bottom most left corner of the screen and starts reflecting the name of your branch.

how to create a new branch using Visual Studio Code final check

How was that for easy?

Wasn’t that I don’t know a piece of cake? Well, creating a new branch using Git is even easier, because basically that is just one piece of code.

It is just a matter of choice.

If you liked this tutorial on how to create a new branch using Visual Studio Code, give us a thumbs up.

Scottshak

Poet. Author. Blogger. Screenwriter. Director. Editor. Software Engineer. Author of "Songs of a Ruin" and proud owner of four websites and two production houses. Also, one of the geekiest Test Automation Engineers based in Ahmedabad.

You may also like...

2 Responses

  1. March 30, 2020

    […] you know what there is a fairly simple way to create a new branch if you are using Visual Studio Code or […]

  2. January 13, 2022

    […] If you have already installed let’s get you started with creating a branch in VSC. […]

Leave a Reply