GitLab offers repository access via SSH and authentication with SSH key.
If you don't already have one, see Creating SSH Key.
$ xclip -sel clip < path/to/id_rsa.pub
or open the file with a text editor and manually copy the contents.