Skip to main content

Cloning a repository from GitHub to GitHub Desktop

You can use GitHub to clone remote repositories to GitHub Desktop.

Tip: You also can use GitHub Desktop to clone repositories that exist on GitHub. For more information, see "Cloning and forking repositories from GitHub Desktop."

  1. Sign in to and GitHub Desktop before you start to clone.

  2. On, navigate to the main page of the repository.

  3. Above the list of files, click Code.

    Screenshot of the list of files on the landing page of a repository. The "Code" button is highlighted with a dark orange outline.

  4. To clone and open the repository with GitHub Desktop, click Open with GitHub Desktop.

    Screenshot of the "Code" dropdown for a repository. A button, labeled "Open with GitHub Desktop" is outlined in dark orange.

  5. Click Choose... and navigate to a local directory where you want to clone the repository.

    Screenshot of the "URL" tab of the "Clone a Repository" window. Next to the "Local Path" field, a button, labeled "Choose", is highlighted with an orange outline.

    Note: If the repository is configured to use LFS, you will be prompted to initialize Git LFS.

  6. Click Clone.