How to install and use git and Github
Installing git
Lorem ipsum
Authenticating to Github
In order to actually use Github, you will need to create an SSH key and upload it to Github.
- Generate the ssh-key:
ssh-keygen -t ed25519 -C "your-company-email"
- Add the ssh-key to your ssh-agent:
ssh-add my-ssh-key
- Add ssh configurations for git:
~/.ssh/config
# Github
Host github.com
User git
IdentityFile ~/.ssh/private-keyfile
- Now upload the ssh-key to Github ➝ Settings ➝ SSH and GPG keys
Cloning from Github
HTTPS authentication is not supported by Github anymore, using SSH authentication instead!