Clone a repository into SourceTree

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

This article should help users to clone a repository from their remote server to their local machine.

Solution

 There are a few ways to clone a repository into SourceTree:

Method #1 - Directly through the SourceTree's Main UI

Steps:

  1. Click on the "Clone/New" button.
  2. Click on "Clone Repository".
  3. Fill in the remote repository URL (Both HTTPS and SSH will work) and all other details. Click "Clone".

If you're using HTTPS in SourceTree for the first time, SourceTree might prompt you with an authentication window to access your Bitbucket account.

Method #2 - Through the Remote Repository (e.g. Bitbucket Cloud or Bitbucket Server)

Steps:

  1. Click "Clone in SourceTree".
  2. SourceTree will open, and a URL Actions pop-up window should appear with the details of the repository you're cloning. Click "Clone" to proceed.

Method #3 - Through SourceTree's Hosted Repositories 

In the Mac version, it is called Remote View, not Hosted Repositories


Steps:

  1. Open up Hosted Repositories. Right-click on a repository you would like to Clone. Click "Clone"
  2. A URL Actions pop-up window should appear with the details of the repository you're cloning. Click "Clone" to proceed.
Last modified on Feb 26, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.