Git & GitHub

test@gmail.com3/19/2026, 10:58:10 PM

Introduction

Git tracks your code history.

Basic Commands

git init
git add .
git commit -m "first commit"
git push

GitHub

A platform to store your code online.

Workflow

  1. Make changes

  2. Commit

  3. Push

Recap

Git = version control. GitHub = sharing.