Clone a repository from GitLab with SSH

  1. Create a SSH key (Git bash is recommended):

    ssh-keygen -o -t rsa -b 4096 -C "[email protected]"
    //Copy public key ( is default name)
    cat ~/.ssh/ | clip
  2. Login Gitlab and paste SSH key in account page
  3. Execute clone command:
    git clone ssh://[email protected]:group/repo.git myfoldername

  4. Then you can create a new repo in Source Tree or Github Desktop