Setting up GitHub
GitHub is a platform for hosting and collaborating on code repositories.
- Create an account at GitHub
- Set up SSH keys for secure communication:
ssh-keygen -t ed25519 -C "your.email@example.com"
- Add the SSH key to your GitHub account:
- Copy the public key
- Go to GitHub → Settings → SSH and GPG keys
- Click “New SSH key”
- Paste your key and save
Connecting Git to GitHub
Test your connection:
ssh -T git@github.com
You should see a message confirming successful authentication.