git_tutorial

Welcome to the git tutorials!

Authentication

First things first you should learn the two main authentication methods you can use with github.

Why do you need authentication? To use git from your own computer; be able to clone, pull, push to any repository that you have access to.

Personal Access Token

One way to authenticate yourself on GitHub is to use Personal Access Tokens (PAT). You can set this up following the steps in the personal_access_token.md tutorial.

What are the advantages?

  • You can set it up quickly
  • You can set the access privileges
  • You can set an expiration date

And the disadvantages?

  • Not as secure: the token string will be stored in a hidden plain text file

SSH key