Source Control
Git Installation
Check the installation
git --version
SSH Key Generation
ssh-keygen -t ed25519 -C "your_email@example.com"
info
By default, the above command creates id_ed25519* files in your {USER_HOME}\.ssh
directory.
If you chose other options (e.g. filename), please change them accordingly below.
Add SSH Key to your GitHub account
- Copy public key
- Get the contents of the public key
cat ~\.ssh\id_ed25519.pub
- Copy the string from the above command's output
- Go to https://github.com
- Login to your account
- Go Profile → Settings → SSH and GPG Keys → New SSH key
- Paste your public key
- Save
- Authorize your SSH key with SSO if you are using GitHub Enterprise