Move SSH key creation to top of script

It seems like creating a Github profile and creating SSH keys for Github would make more sense together, before we try to clone the repository (regardless of whether we're using HTTPS or git for it).