Lecture 2: Git and GitHub
Info and Materials
- Date: June 26, 2025
- Topics: Intro to Git and GitHub from RStudio
- Slides: View Slides
- Code: No in-class code to download
Learning Objectives
- Understand what Git is and why it’s useful
- Create a Git repository in RStudio
- Connect your Git repository to GitHub
- Practice staging, committing, and pushing changes
Before Class
- Complete the Lecture 1 “Before Class” activities, if you haven’t already
- Review the Lecture 1 materials to get ready for today’s in-class quiz
- Bring your laptop to every class (let us know if that might be a problem!)
- Optional: Read the Software Setup page. We’ll go through this together in class today, but feel free to read the materials ahead of time if you want
Readings
Skim the readings before or after class to get the big picture and prep for quizzes and assignments: