Quick summary
Cloning a GitHub repository in Sourcetree lets you download a remote codebase to your local machine using a visual Git client — no command line required. This guide walks you through copying the HTTPS URL from GitHub and using Sourcetree's Clone dialog to set up the local repository in minutes.
Steps
- Go to the GitHub page of the repository you want to clone.
- Click the green 'Code' button on the repository page.
- Copy the 'HTTPS' URL displayed in the dropdown.
- Launch Sourcetree on your computer and click 'Clone' in the main window or toolbar.
- Fill in the clone repository form and paste the GitHub URL you copied.
- Choose the local destination folder where you want the repository saved on your computer.
- Click the 'Clone' button to start the cloning process.
- Sourcetree will download the repository and automatically open it for you.



