Skip to content

Cloning a GitLab Repository

Cloning lets you work on a local copy of a repository.

Terminal window
git clone https://gitlab.com/namespace/project.git
  1. Add your SSH key in User Settings > SSH Keys.
  2. Use the clone command:
Terminal window
git clone git@gitlab.com:namespace/project.git