# Creating and Managing Branches

> Add and manage branches from the **Manage Branches** window. To access it, either right-click the project node or a file in the **Project** panel and select **Manage Branches**, or use the ![](https://dev-assets.cms.uipath.com/assets/images/studio/2024-10-docs-image-manage_branches-cd7efe05.png) branch menu in the status bar.

Add and manage branches from the **Manage Branches** window. To access it, either right-click the project node or a file in the **Project** panel and select **Manage Branches**, or use the ![](https://dev-assets.cms.uipath.com/assets/images/studio/2024-10-docs-image-manage_branches-cd7efe05.png) branch menu in the status bar.

![docs image](https://dev-assets.cms.uipath.com/assets/images/studio/2024-10-docs-image-169097-3652f6ba.webp)

* To add a branch:

  1. Select a branch in the table, and then click **Plus** ![docs image](https://dev-assets.cms.uipath.com/assets/images/studio/2024-10-docs-image-Add_Feed_Button-c5568570.png) at the top of the window.

  2. Enter a name for the branch, click **Create branch from** *branch_name*, and then click **Save**. The branch is added to the list.

* To refresh the list of branches, click **Refresh** ![docs image](https://dev-assets.cms.uipath.com/assets/images/studio/2024-10-docs-image-git_refresh-aadd121c.png) at the top of the window.

* To delete a local branch, select it, and then click **Delete** ![docs image](https://dev-assets.cms.uipath.com/assets/images/studio/2024-10-docs-image-delete_branch-c29e6668.png) at the top of the window.

* To manage branches, right-click any branch and select one of the options from the menu:
  + The **Checkout branch** option switches to the selected branch.
  + The **Rebase** option rebases the current branch onto the selected branch.
  + The **Merge** option merges the selected branch into the current branch. To merge a branch into the master of a GIT remote repository, you need to have the master branch checked out in Studio and then merge the modified branch into master.

* To switch between branches, open the ![docs image](https://dev-assets.cms.uipath.com/assets/images/studio/2024-10-docs-image-manage_branches-cd7efe05.png) branch menu in the status bar, and then select the branch to switch to from the list of recently checked out branches.

  :::note
  Branches need to be added locally in Studio from the **Manage Branches** window. Adding branches from the remote GIT repository may cause issues when trying to switch between branches.
  :::
