Lecture 3 — Git Fundamentals (3h)

Lecture 3 — Git Fundamentals (3h)#

Objectives

  • Create repositories, make commits, and inspect history

  • Use branching and merging; resolve simple conflicts

  • Learn good commit messages and staging workflow

Content summary

Motivate version control. Hands-on activities: init a repo, make commits, create branches, and merge changes. Demonstrate git diff, git log, and interactive conflict resolution.