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 GitHub.com and GitHub Desktop before you start to clone.

  2. Navigiere auf GitHub.com zur Hauptseite des Repositorys.

  3. Klicke oberhalb der Liste der Dateien auf Code.

    Screenshot: Liste der Dateien auf der Startseite eines Repositorys. Die Schaltfläche „Code“ ist orange umrandet.

  4. Um das Repository zu klonen und mit GitHub Desktop zu öffnen, klicke auf Mit GitHub Desktop öffnen.

    Screenshot des Dropdownmenüs „Code“ für ein Repository. Eine Schaltfläche mit der Bezeichnung „Mit GitHub Desktop öffnen“ ist in dunklem Orange eingerahmt.

  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.