Quick summary
Cloning a GitLab repository via SSH lets you securely download a remote project to your local machine using an encrypted connection. This guide walks you through every step — from finding the SSH clone URL in GitLab to running the git clone command in your terminal.
Steps
- Log in to your GitLab account and select the project you want to clone.
- Click the Code button on the project page to open the clone options.
- Select the folder icon next to the SSH URL to copy the SSH clone URL.
- Navigate to the destination folder on your machine, right-click, and select Git Bash Here.
- Open Command Prompt, type git clone, paste the SSH URL, and press Enter.
- Wait a few seconds for SSH verification to complete — once finished, the repository is cloned and ready to use.



