π₯οΈ Week 02, Day 03 - Lecture
Keeping a History of Your Work with Git
By the end of the lecture, you should be able to: i) Create a GitHub repository and curate a short README, ii) Make a few commits with meaningful -m messages (a tiny Open Library script is the file you track), then push, using status and diff, iii) Create a branch, merge it back into main, and recognise the same moves in VS Code, iv) Publish a single Markdown page with docs/index.md and GitHub Pages.
β° Wednesday, 22 July 2026 | 10:00am - 1:00pm π CBG.2.01 (see LSEβs πΊοΈ campus map)
Yesterday you finished the midterm hand-in on Nuvolos. Today you put work under Git and publish a tiny Markdown site on GitHub Pages. From here on, every project in this course goes in a repository.
π£οΈ Lecture Overview
- A home for your work: what Git is (labelled versions, parallel branches), then create a repo on GitHub, clone to Nuvolos
- Save a snapshot: write a tiny script, a few meaningful commits (including an optional emoji refactor), then
push, andpullwhen the remote moved - Coffee break
- Branches and merge: create a branch, merge it back into
mainby hand - VS Code: the same moves in Source Control
- GitHub Pages:
docs/index.mdand Settings β Pages - References
π¬ Lecture Slides
Use keyboard arrows to navigate. Select the slides below or view fullscreen.
After the Lecture
This afternoon you practice with classmates on a shared repository: invites, parallel edits, a merge conflict on purpose, and Pull Requests if time allows.
Questions?