ME204 2026 Icon

πŸ–₯️ Week 02, Day 03 - Lecture

Keeping a History of Your Work with Git

Author

Dr Jon Cardoso-Silva

Last updated

22 July 2026

πŸ₯… Learning Objectives

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, and pull when the remote moved
  • Coffee break
  • Branches and merge: create a branch, merge it back into main by hand
  • VS Code: the same moves in Source Control
  • GitHub Pages: docs/index.md and 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.

πŸ’» Afternoon lab

Shared repo practice with your group.

➑️ Lab page

Questions?

Ask your class teacher during the lab.