Check out a branch in Bitbucket Cloud

When you check out a branch, you should already have a local clone of the parent repository. The Bitbucket interface gives you the basic command for checking out a branch.

  1. From the repository's Branches page, click the branch you want to checkout.

  2. Press the Check out button to display the appropriate check out command.

  3. Copy the command (or choose Check out in Sourcetree if you'd rather use Sourcetree).

  4. Open the terminal on your local machine and change to the root directory of your repository.

  5. At the command line, enter the copied command from Bitbucket and press ENTER.

Additional Help