Access your GitLab account
Access GitLab by visiting https://git.fmrib.ox.ac.uk in a web browser and log in (using the LDAP tab) with your WIN IT username and password.
The git server identifies and authenticates you (or rather your computer) using an SSH key pair. This means we need to create a key pair to authenticate the connection from your local computer to the remote repository.
From your terminal, follow the instructions here to create an SSH key pair for your local computer
You will be asked to provide a file name for the key. Leave this blank to accept the default location of ~.ssh/id_rsa.
You will be asked to create a password. This password will be used by the git system to read the contents of your ssh key file (i.e. confirm your identity) when you send information to your repository. Do not use the same password as your WIN IT account password.
Once you have created the key, enter
cd ~ in your terminal, then
cat .ssh/id_rsa.pub to read the contents of the SSH key file into the terminal. Copy and paste the contents into the SSH keys section of your profile settings on git.fmrib.ox.ac.uk (accessed via User Settings > SSH Keys - the “key” icon on left menu bar.