Git cheat sheet

https://about.gitlab.com/images/press/git-cheat-sheet.pdf

Configuring Git

Levels at which we can configure these settings

  1. System — All users
  2. Global — All repositories of the current user
  3. Local — The current repository

Things we will cover will mainly for mac and llinux:

NOTE: change default branch to main

git config --global init.defaultBranch main