COSMA has a GitLab instance for hosting code repositories. You can access it here.
Please contact cosma-support@durham.ac.uk if you wish to set up an account.
There is a thorough, step-by-step to git and all other GitLab features here.
To use GitLab, you will need an SSH keypair (like the one you geenrated during SSH setup).