Cloning a Repository

Cloning a repository lets you create a copy of a project hosted on a service like GitHub, GitLab, or Bitbucket so you can work on the project on your Mac.

Take the following steps to clone a repository:

  1. Choose Repository > Clone.
  2. Enter the location of the repository you want to clone.
  3. Click the Clone button.
  4. Choose a location to save the cloned repository on your Mac.
  5. Click the Clone button.

The location for a GitHub repository takes the following form:

https://github.com/GitHubAccount/RepoName.git

Where GitHubAccount is the name of the GitHub account that hosts the repository and RepoName is the name of the repository.

Table of Contents