Lecture 02: Dev Environment and Git

Learning objectives

  1. Create and use a virtual environment and a requirements file.
  2. Explain Git's data model: content hashes, commits, branches, the DAG.
  3. Branch, merge and resolve a conflict using the three-way merge rule.
  4. Push a clean repository to GitHub without venvs or secrets.

Sections

# Section Minutes
0 Recall on Lecture 01 10
1 Isolated environments 20
2 Git's data model, concept question 1, animations 30
- Break 10
3 Branches and merges, concept question 2 25
4 GitHub workflow, Parsons practice 10
5 Lab: portfolio repo, check_repo.py; exit ticket 75

Materials