Date: Feb 9th, 2026
Welcome to your first step into professional software development! Today we aren't just learning commands; we are learning how to collaborate, save our work safely, and manage the history of our projects.
-
What is Version Control?
- Why do we need it? (No more
final_final_v2.docx) - Centralized vs Distributed (Git).
- Why do we need it? (No more
-
Core Concepts
- Repository (Repo): The folder where your project lives.
- Commit: A snapshot of your project at a specific time.
- Stage (Add): Preparing files for a commit.
- Branch: A parallel version of your code (like a timeline split).
-
The "Happy Path" Workflow
git status(Always check where you are!)git add .(Stage changes)git commit -m "message"(Save changes)git push(Send to GitHub)
-
Branching & Merging
- Why branch? To work on features without breaking the main code.
git checkout -b new-featuregit merge new-feature
-
The Scary Part: Merge Conflicts
- What happens when two people change the same line?
- How to resolve them calmly.
We will pair up and try to edit the same file in a shared repository to trigger a merge conflict intentionally!