How to Create a Repository with Sourcetree
- George Apostolov
How to Create a Repository with Sourcetree: step-by-step guide
Open Sourcetree. Click on '+ Create' in the top-left corner.
Choose the folder where your repo will be created.
Set a name for your repository.
Click 'Create'.
Done! You now have a Git repository set up locally on your machine.
Quick answer: To set up a local Git repository with Sourcetree, click '+ Create' in the top-left corner, choose your destination folder, and enter a repository name. Finally, click 'Create' to complete the setup.
About this Sourcetree tutorial
Create a local Git repository effortlessly in Sourcetree by choosing your folder, naming your project, and clicking create. This guide shows how to create a Repository with Sourcetree in 5 steps, starting with "Open Sourcetree. Click on '+ Create' in the top-left corner" and finishing with "Done! You now have a Git repository set up locally on your machine". The interactive demo above is a click-through copy of the real Sourcetree interface, so you can rehearse each step before doing it in your own account.
Frequently asked questions
How many steps does it take to create a Repository with Sourcetree?
5 steps. Each one is listed in order above, and the demo highlights exactly where to click.
Can I try it without changing my own account?
Yes. Clicking through the demo doesn't touch your Sourcetree data or settings. Once you know the flow, repeat it in your own workspace.
This tutorial is filed under Sourcetree. Related guides: How to Create Feature Branch in Sourcetree, How to Delete a Commit in Sourcetree and How to Edit Commit Message in Sourcetree. Last reviewed 05 Oct 2026.
Create your first interactive demo in minutes
No credit card required • Start building today





