Skip to main content

Github

info

If you already have a GitHub account and SSH keys set up, skip ahead to configure your SSH keys with GitHub. If you need to create a new GitHub account, sign up here.

Introduction​

A personal GitHub account is vital for managing your code and contributions. It allows you to maintain a history of your work that extends beyond your tenure with us. This guide will help you set up a GitHub account and configure SSH access for secure and efficient repository interactions.

Creating a GitHub Account​

If you don’t already have a personal GitHub account, follow these steps to create one:

  1. Visit GitHub's sign-up page.
  2. Follow the instructions to create a new account (use your personal email).
  3. Verify your email address to complete the account setup.

Setting Up SSH Keys​

To securely access GitHub repositories, you need to set up SSH keys. SSH keys provide a more secure way of logging into a server with SSH than using a password alone. Here's how you can do it:

  1. Check if you have existing SSH keys: ls -al ~/.ssh
    1. Look for files named id_rsa.pub or id_ed25519.pub.
    2. If you don’t have an SSH key, generate one using ssh-keygen -t rsa -b 4096 -C "your_email@example.com".
  2. Add your SSH key to the SSH agent:
    1. Start the SSH agent: eval "$(ssh-agent -s)".
    2. Add your SSH key to the SSH agent: ssh-add ~/.ssh/id_rsa or ssh-add ~/.ssh/id_ed25519.
  3. Add your SSH key to your GitHub account:
    1. Copy your SSH key to the clipboard: pbcopy < ~/.ssh/id_rsa.pub or pbcopy < ~/.ssh/id_ed25519.pub.
    2. Go to GitHub SSH Key settings.
    3. Click "New SSH key," paste your key, and save it. import { info } from "console"