# How to Clone GitHub Repository in Sourcetree

> To clone a GitHub repository in Sourcetree, copy the HTTPS URL from the green Code button on the GitHub page. Then, launch Sourcetree, click Clone, paste the URL into the form, select your destination folder, and click Clone to download and open the repository.

Canonical: https://livedemo.ai/tutorials/how-to-clone-github-repository-in-sourcetree/
Apps: GitHub, Sourcetree
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a32edab56e05a00fd6b23/preview?step=1

## Steps

1. Go to the GitHub page of the repository you want to clone.
2. Click the green 'Code' button.
3. Copy the 'HTTPS' URL.
4. Launch Sourcetree on your computer. Click 'Clone' in the main window or toolbar.
5. Fill in the clone repository form. Paste the GitHub URL you copied.
6. Choose where you want the repository saved on your computer.
7. Click the 'Clone' button.
8. Sourcetree will now download the repository and open it for you.
