Activity 01
Pairs: Branching New Features
Students clone a shared class repository, create a feature branch, add and commit a simple function, then push it. Partners review via pull request, merge to main, and discuss changes. End with a class share-out on branch benefits.
How does version control facilitate collaboration among hundreds of developers on one project?
Facilitation TipDuring Pairs: Branching New Features, circulate to listen for students describing branches as 'copies' and redirect by asking them to compare branch creation time with file duplication time.
What to look forPresent students with a scenario: 'You just finished writing a new function. What Git command do you use to stage it, and what command do you use to save it permanently?' Review responses to gauge understanding of basic add and commit actions.