This design studio prepares you to use the simplest form of Git, i.e., on a local system using a command line interface, all for yourself (not for a team). You need to understand the core concepts of branching, merging, recovery, and then you will be prepared to learn to use Git remotely in the upcoming project.
User story: As a user, I want to understand how git works so that I can understand what is happening when I execute basic git commands, including branching, merging, and recovery.
As with every design studio, there are two parts:
You will need to perform the following three tasks to prepare for the Basic Git Design Studio:
Read the collected excerpts from the book "Pro Git: Everything that you need to know about Git by Scott Chacon and Ben Straub" that we provided here. For your convenience, the PDF file covers the following pages:
Ensure that Git is installed on your computer. To find out if you already have git, execute:
$ git --version
The departmental linux machine already have git installed. If you own a mac and type git in a command line of a terminal, you will be prompted to install xcode (if you didn't already have it installed). This will contain the necessary software for Git. Most Linux systems should already have git installed. If not, check out the links from the git book at https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
If you are running Windows, the easiest thing is to download Git BASH from https://git-for-windows.github.io/. This gives you a terminal window running the bash shell and installs git on your system.
Note: The lecture on Friday, Sep 2, will also include a demo of git. You should do the tutorial after the lecture because it will be hard to watch and keep up with the demo.
During the lecture, your instructor will present some slides and run a demo of basic git as a tutorial.