Discussion 1: Git Basics
Discussion 1: Tuesday, May 26, 2026.
This exercise is designed to help you get familiar with using git and GitHub.
To complete this exercise, you need to install git on your computer, if you haven’t already. Follow this link to install git.
Submit your work on Gradescope.
Part 1: Git-It Challenge
For this part of the assignment, you will learn and practice git commands using the Git-It tutorial. We forked and made some minor changes to the program.
Download the zip file from the Assets section of our Releases page. Follow the installation instructions for your machine.
MacOS Installation
- Download
git-it-darwin-arm64.zipto your Downloads folder. - Follow this video on how to unzip and start the app.
Windows Installation
- Download
git-it-win32-ia32.zip. - Follow this video on how to unzip and start the app.
- The command used in the video is
xattr -cr Git-it-darwin-arm64/Git-it.appfrom the Downloads folder.
- The command used in the video is
Your submissions
- Take a screenshot of the Git-It app showing your completion status and upload it to Gradescope.
- Paste the output of
git logfrom your localhello-worldproject into Gradescope. - Paste the output of
git logfrom your localpatchworkfolder into Gradescope.
Part 2: Fork and Edit Our GitHub Repository
Follow these steps:
- Use GitHub to fork our course’s code repository: https://github.com/rust4ds/ds210-sum26-code
- Clone the fork you created to your computer using
git clone. - Navigate to the directory of the repo on your computer and create a file called
hello.mdwith this content:
# hello!
This is my first git file
-
Add, commit, and push the file:
git add hello.md git commit -m "your commit message" git pushUse a meaningful commit message.
-
Confirm that
hello.mdhas been pushed to your fork on GitHub.
When you are done, submit the URL to your fork on GitHub to Gradescope.