Skip to main content
Table of contents

Learning GOV.UK

Set up your GitHub account

  1. Set up a GitHub account.
  2. Ask your tech lead to add you to the alphagov organisation. You will have to be added to the GOV.UK team to get access to repos & CI. Remember to click accept in the GitHub email invitation.
  3. Ask somebody with access to add your GitHub username to the user monitoring system.
  4. Generate and register an SSH key pair for your Mac for your GitHub account (use a 4096 bit key)
  5. Import the SSH key into your keychain. Once you’ve done this, it’ll be available to the VM you’ll install in the next step.

    $ /usr/bin/ssh-add -K your-private-key
    
  6. Test that it all works by running ssh -T git@github.com.

  7. While you’re here, associate your name and email to your git commits:

    $ git config --global user.email "friendly.giraffe@digital.cabinet-office.gov.uk"
    $ git config --global user.name "Friendly Giraffe"
    
This page was last reviewed on 21 October 2019. It needs to be reviewed again on 21 April 2020 by the page owner #govuk-2ndline .
This page was set to be reviewed before 21 April 2020 by the page owner #govuk-2ndline. This might mean the content is out of date.