This interactive demo was created free with Storylane in 2 minutes. Create your own demo
This interactive demo was created free with Storylane in 2 minutes. Create your own demo
Start free
All Tutorials /Sourcetree

How to Change Branch in Sourcetree

Updated on:
June 5, 2026
By:
Madhav Bhandari
Use this interactive demo to learn how to switch branches in Sourcetree step by step.

Quick summary

Switching a branch in Sourcetree lets developers move between parallel lines of work without leaving the GUI. Use the Branches panel and the Checkout option to instantly update your working copy to any local branch.


Steps

  1. Open your repository in Sourcetree.
  2. Look at the Branches panel on the left side of the interface.
  3. Find the branch you want to switch to.
  4. Select the branch in the Branches panel.
  5. Right-click it and select 'Checkout master...' from the context menu.
  6. Sourcetree will automatically switch your working copy to that branch.

📌 Why this matters

Changing branches in Sourcetree is a core Git workflow action that allows developers to switch between features, bug fixes, and release lines without using the command line. Sourcetree's visual branch management makes it easy to identify, select, and check out any branch directly from the Branches panel, reducing the risk of errors common in CLI-based workflows. For teams using Git with a GUI, mastering branch switching in Sourcetree speeds up code review cycles and parallel development. This makes Sourcetree an essential tool for developers who want a reliable, visual way to manage Git branches across projects.
Your product deserves an interactive demo
Start free
Similar Articles
Sourcetree

How to Update Sourcetree Mercurial

Madhav Bhandari
Director of Marketing @ Storylane
Sourcetree

How to Add SSH Key in Sourcetree

Madhav Bhandari
Director of Marketing @ Storylane
Sourcetree

How to Change User in Sourcetree

Madhav Bhandari
Director of Marketing @ Storylane
No items found.
Platform
Interactive Demos
Sandbox Demos
Hubs
RepX
Integrations
Solutions
Product Marketers
Growth & Demand Gen
Sales Reps & AEs
Presales & SEs
Customer Success
Product Managers
Customers
Demo Showcase
Customer Stories
Finer Demos Club
Features
Demo Signals
Personalization
Deal Intelligence
Resources
Blog
The Plot
Tutorials
Help Docs
What’s New
Demo Dundies
Company
Careers
Pricing
Partners
Contact
Trust Center
Backed by
Chrome Extension Icon
Chrome extension
Download
Desktop app
Download
Built in San Francisco Bay Area - ©2026 Storylane
Privacy PolicyTerms & Conditions
X Corp (formerly Twitter)LinkedIn
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it