Skip to content

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.

  1. Generate the ssh-key:

ssh-keygen -t ed25519 -C "your-company-email"

  1. Add the ssh-key to your ssh-agent:

ssh-add my-ssh-key

  1. Add ssh configurations for git:

~/.ssh/config

# Github
Host github.com
    User git
    IdentityFile ~/.ssh/private-keyfile
  1. 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!