Git 101, with Exercises
Git is the key tool we use to allow multiple people to work on the same code base. Git takes care of merging everyone's contributions smoothly. Hence, learning how to use Git is critical to contributing to open source.
Exercise 1: Go through the Try Git Guide
Exercise 2: Learn How to file a github issue.
Exercise 3: Watch these videos:
Exercise 4: Skim Hadley Wickham's guide to git for an additional refernce.
Exercise 5: Create a repo on GitHub that contains a markdown file that answers these questions:
- How do you see the files changed within each commit from git log?
- How do you see the contents of what changed within each file from the git log?
- What does
HEADrefer to in the context of git? (Not to be confused with the "HEAD<<<<" one observes within merge conflict)