To merge branches in Sourcetree, follow these steps:
- Open Sourcetree and navigate to your repository.
- Double-click the branch name in the sidebar or right-click it and select 'Merge Sub into current branch'.
- Click 'OK' to confirm the merge action.
- That's it! You've successfully merged branches in Sourcetree.