Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Git 101, with Exercises

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.

Exercises

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 HEAD refer to in the context of git? (Not to be confused with the "HEAD<<<<" one observes within merge conflict)
@john2895
Copy link

john2895 commented Apr 1, 2021

Thank you for the information.

@AmaanK03
Copy link

Thank you for the information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment