Andromeda
Note

Git Version Control Basics

Definition

Git is a distributed version control system tracking every project change as commits; GitHub hosts remote repositories enabling clone, pull, push, fork, and pull request collaboration workflows.

Why It Matters

Git is the essential ‘time machine’ for modern creation; it allows teams to collaborate on massive projects without fear of loss, providing a rigorous, immutable record of every change that makes the evolution of complex software both traceable and recoverable.

Core Concepts

# Basic Git workflow
git init                # Create repo
git add index.html      # Stage file
git commit -m "Initial" # Commit snapshot
git branch feature      # Create branch
git checkout feature    # Switch branch
  • Repository: Project folder plus full revision history.
  • Commit: Snapshot with descriptive message (git add stages, git commit saves).
  • Branch: Parallel development line merged back to main when ready.
  • Clone / Pull / Push: Sync local and remote repositories.
  • Fork: Personal copy of another user’s GitHub repo.
  • Pull Request: Request to merge your branch into upstream project.

Connected Concepts