Open, Clone, and Init a Repo with GitKraken Desktop (original) (raw)

Last updated: May 2026

Use this page to open an existing local repository, clone a remote repository, or initialize a new repository in GitKraken Desktop. It also covers shallow clone, sparse checkout, and the Repository Management tab so you can choose the right setup path for a new or existing project.

Requirements and limits


Quick Start

To open an existing local repository:

  1. Click the folder icon in the top-left corner or press Alt + O (Windows/Linux) or Cmd + O (Mac).
  2. Click Browse and select your repository folder.

To open a repository from the command line:
Pass the repository path directly as an argument, for example gitkraken . to open the current directory or gitkraken /path/to/repo to open a specific path. The --path flag is no longer required.

To clone a remote repository:

  1. Open the Repository Management tab and click Clone.
  2. Enter the repository URL or select a repository from your connected integration.
  3. Click Clone the repo to download it locally.

To initialize a new repository:

  1. Click Init in the Repository Management tab.
  2. Fill in the repository path and optional settings (.gitignore, license).
  3. Click Create Repository to create the repo and open it.

Shallow clone is supported when cloning. Enable the Shallow Clone option in the Clone dialog to limit commit history by depth or date. Access all three options from the Repository Management tab, the New Tab, or File > Clone / Init / Open.


How to complete the initial setup

Complete these setup steps before managing repositories:

  1. Install GitKraken Desktop
  2. Create an account and configure your profile

How Repository Management works

The Repository Management tab provides an overview of active repositories, Workspaces, and favorites. Open this tab by clicking the folder icon in the top-left or using:

Repository Management tab showing buttons for Browse, Clone, and Init, with open, favorite, and recent repositories listed by group.

Repository Management tab in GitKraken Desktop

From here, you can:

This tab also includes Workspaces and repository actions:


How to open an existing project

To open an existing repo:

  1. From Repository Management, select
  2. Use the file explorer to locate your repo

Repository Management screen with the Browse button highlighted to open an existing repository

Select an existing repository to open

You can also access this via the New Tab by clicking the + icon.

How to open a repository from the command line

You can open a repository in GitKraken Desktop by running the gitkraken command and passing the repository path directly as an argument:

# Open the current directory
gitkraken .

# Open a specific repository path
gitkraken /path/to/repo

The --path flag is not required.

How to open shallow-cloned repositories

GitKraken Desktop supports opening shallow cloned repositories.

No special setup is required. Just navigate to the shallow clone’s location and open it as you would any other repository (see above).


How to clone a project

To clone a remote repo:

  1. In Repository Management, select

Repository Management tab with the Clone button highlighted in GitKraken Desktop

Clone from Repository Management tab

  1. You can also access clone options via File > Clone or the New Tab.

Clone a Repo dialog with URL input and provider options in GitKraken Desktop

Enter the clone URL to start

How shallow clone works

GitKraken Desktop supports shallow cloning when cloning a repository. Shallow clones let you limit the commit history that is downloaded, which can significantly reduce clone time and disk usage for large repositories.

To perform a shallow clone:

  1. Open the Clone dialog from Repository Management, the New Tab, or File > Clone.
  2. Select the repository you want to clone.
  3. Enable the Shallow Clone option.

GitKraken Desktop shallow clone options, including branch to clone, depth, since date, and custom flags

Shallow Clone option in the Clone dialog

When Shallow Clone is selected, additional options become available:

  1. Click to complete the shallow clone.

After cloning, the repository opens automatically in GitKraken Desktop.

How sparse checkout works

Sparse checkout lets you check out only a subset of files from a repository, keeping your working directory smaller and improving performance on large repositories such as monorepos.

To perform a sparse checkout when cloning:

  1. Open the Clone dialog from Repository Management, the New Tab, or File > Clone.
  2. Select the repository you want to clone.
  3. Enable the Sparse Checkout option.
  4. In the Paths to include field, enter one path per line (for example, src/, docs/, README.md). If no paths are provided, only root-level files will be checked out.

GitKraken Desktop Clone dialog with Sparse Checkout enabled, showing a Blobless clone option and a Paths to include text field with example paths such as src/, docs/, and README.md

Enable Sparse Checkout in the Clone dialog and specify which paths to include.

  1. Click to complete the clone.

Note: Files at the root of the repository are always checked out regardless of the paths you specify.

Configuring sparse checkout on an existing repository

To enable or update sparse checkout rules on a repository you have already opened, go to Preferences > Sparse Checkout for that repository.

GitKraken Desktop Repo-Specific Preferences panel open to the Sparse Checkout section, showing a Paths to include text field and three action buttons: Enable sparse checkout, Disable sparse checkout, and Reapply sparse checkout

Configure sparse checkout paths and actions under Repo-Specific Preferences.

From this panel you can:

When a repository has sparse checkout active, a Sparse button appears in the toolbar. Click it to quickly edit your sparse checkout paths, disable sparse checkout, or reapply the current rules without opening Preferences.

GitKraken Desktop toolbar showing the Sparse button expanded, with a dropdown menu listing Sparse Checkout Commands: Edit sparse checkout paths, Disable sparse checkout, and Reapply sparse checkout

The Sparse toolbar button provides quick access to sparse checkout commands on active repos.


How to initialize a new project

To start a new repo:

  1. Select in Repository Management.

Initialize a Repository dialog in GitKraken Desktop showing local and remote provider options, with fields for repo name, location, and additional settings

Repository initialization options

  1. Fill in:
    • Repository path
    • .gitignore template (optional)
    • License (optional)
  2. Click

Also accessible via File > Init or New Tab.

Initialization result:

You can also initialize a repository directly to GitHub, Bitbucket, or other remote providers.


How to customize Repository Management

User interacting with GitKraken Desktop Repository Management tab to change the color of a repo group via the group menu

Customize repo group layout and colors