1 Git init

  1. Initializing a repo locally
mkdir gitflix
cd gitflix
  1. Initiating the repo
git init

2 Git Add

  1. Create a sample markdown file called readme.md
touch readme.md
  1. Use git status to see the staged and modified changes
git status
  1. Add the changes
git add .
  1. Use git status to see the staged and modified changes

3 Git Commit

  1. use git log to see the current logs
  2. commit the staged changes
git commit -m "<commit message>"

Start your commit message with A:

  1. use git log to see the current logs

  2. Edit the readme.md and add the things below

# Contents
  1. Stage and commit the changes, start your commit message with B:
git add .
git commit -m "B: Add heading to readme"