Library Carpentry: Introduction to Git

What We Will Try to Do

Begin to understand and use Git/GitHub. You will not be an expert by the end of the class. You will probably not even feel very comfortable using Git. This is okay. We want to make a start but, as with any skill, using Git takes practice. In this lesson we use Git from the Unix Shell. Some previous experience with the shell is expected, but is not mandatory.

Be Excellent to Each Other

Be Patient With The Instructor and Yourself

Prerequisites

  1. Setup a GitHub account
  2. Install shell and git on your computer

Schedule

Setup Download files required for the lesson
00:00 1. What is Git/GitHub? What is Git?
What is GitHub?
00:10 2. Getting started with Git What are repositories and how are they created?
What do add and commit mean?
How do I check the status of my repository?
00:35 3. Sharing your work How can I use Git and GitHub to share my work?
How do I link a local Git repository to GitHub?
How do I move changes between a local Git repository and a GitHub repository?
How can I see the differences between my current file and my most recent commit?
01:05 4. Review How can I cement my understanding of Git’s functions?
01:30 5. GitHub Pages What is GitHub Pages?
How can I use GitHub Pages to collaborate and share my work?
02:05 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.