How to Push Code to Bitbucket using Sourcetree
- George Apostolov
- 05 Sep 2025
Guide
Launch Sourcetree. Open the local repository you want to push.
Go to the 'Repository' settings menu.
Under the 'Remotes repository paths' tab, ensure there’s a remote called 'Origin' and the URL/Path should be your Bitbucket repository URL.
Click 'OK' to save.
Enter a commit message.
Click 'Commit' to commit changes.
Click the 'Push' button in the toolbar.
In the 'Push' dialog, ensure the correct remote is selected, and select the branch you want to push.
Click 'Push' to push your code. Your code is now pushed to your Bitbucket repository!
Create your first interactive demo in minutes
No credit card required • Start building today


