Skip to content
Related Articles

Related Articles

How to Create a New Branch on GitHub using Android Studio?
  • Difficulty Level : Expert
  • Last Updated : 26 Feb, 2021

Git is an open-source version control system. It means that whenever a developer develops some project (like an app or website) or something, he/she constantly updates it catering to the demands of users, technology, and whatsoever it maybe, Git is a version control system that lets you manage and keep track of your source code history. Let’s say you have a project and you have uploaded that on GitHub and now want to make some changes to it. But it may be possible that you may require the previous code. To make this happen, We will create a branch in our branch on Github. Here, We are going to learn how to create a new branch in Android Studio.

Note: To Upload Project on GitHub please refer to this article How to Upload Project on GitHub from Android Studio?

Step By Step Implementation

Step 1: Firstly We will open our project in which we want to create a New Branch. Go to the bottom right side of Android Studio. Here we will find Git master as shown in the figure. We will click on it.   

Step 2: Then this will come as shown in the figure. Here we will click on New Branch.



Step 3: Then a new box will pop up. Here we will Type the name of New branch. Here, we have taken testing for showing. Then, click on Ok.

Step 4: Then we will make the required changes in the project and then Push the project on Github.

Step 5: Now, In Github, we can see that a new branch is showing.

Want a more fast-paced & competitive environment to learn the fundamentals of Android?
Click here to head to a guide uniquely curated by our experts with the aim to make you industry ready in no time!
My Personal Notes arrow_drop_up
Recommended Articles
Page :