A00 - Class Onboarding
Assignment: GitHub Classroom
Late Policy
- You have until the assigned due date, after that you will receive 0 points.
This assignment introduces the tools and workflow used throughout the course, including Git, GitHub, and GitHub Classroom.
There is no programming required. The goal is to ensure that you can accept a GitHub Classroom assignment, work in the correct branch, make a small change, and submit your work using a pull request.
These skills are required for every assignment in this course.
Objective and Expected Learning Outcomes
By completing this assignment, you will be able to:
- Accept an assignment through GitHub Classroom.
- Navigate a GitHub repository created for you.
- Clone a repository to your local machine.
- Create and work in a separate development branch.
- Modify a file in the repository.
- Commit and push changes to GitHub.
- Submit work using a pull request.
- Verify your submission on GitHub.
Instructions
Follow the steps below carefully and in order.
Step 1: Accept the GitHub Classroom Invitation
- Click the GitHub Classroom invitation link provided on the course website.
- Log in to your GitHub account when prompted.
- Accept the assignment.
- GitHub Classroom will create a private repository for you.
- Click the link to access your new repository.
This repository is your submission for this assignment.
Step 2: Clone the Repository
- From your repository page, click the green Code button.
- Copy the repository URL (HTTPS or SSH).
- Open a terminal on your local machine.
- Clone the repository:
git clone <repository-url>
- Change into the repository directory:
cd <repository-name>
Step 3: Create and Switch to the Development Branch
All work for this course must be done on the development branch.
- Create and switch to the development branch:
git checkout -b development
- Verify that you are on the correct branch:
git branch
The output should show development as the active branch.
Step 4: Complete the Course Survey
- Open a web browser.
- Navigate to the course survey using the link below: https://forms.office.com/r/1whyHiSe6j
- Complete and submit the survey in full.
Step 5: Record Survey Completion in the Repository
- In the repository, open the file named
SURVEY_COMPLETION.md. - Follow the instructions in that file to indicate that you have completed the survey.
- Save the file.
This step ensures you practice making a meaningful change to a repository file.
Step 6: Commit Your Changes
- Check the repository status:
git status
- Stage your changes:
git add SURVEY_COMPLETION.md
- Commit your changes with a clear message:
git commit -m "Record course survey completion"
Step 7: Push Your Development Branch
Push your work to GitHub:
git push -u origin development
Step 8: Submit via Pull Request
- Go to your repository on GitHub.
- You should see a prompt to create a pull request for the recently pushed branch.
- Open a pull request from
developmentintomain. - Do not merge the pull request.
Your submission is complete once the pull request is open.
Submission Requirements
To receive credit, you must:
- Accept the GitHub Classroom assignment.
- Create and work on the
developmentbranch. - Complete the course survey.
- Update
SURVEY_COMPLETION.md. - Commit and push your changes to
development. - Open a pull request from
developmentintomain.
No additional files or uploads are required.
Evaluation Criteria
This assignment is graded on completion and correct use of the Git workflow.
You will receive full credit if:
- Your repository exists and is linked to GitHub Classroom.
- A
developmentbranch exists with at least one commit. - The required file is correctly updated.
- A pull request from
developmenttomainis open. - Commit messages are reasonable and descriptive.
Notes on Course-Wide Requirements
- Certification headers are not required for this assignment.
- A reflection file is not required for this assignment.
- Future assignments will require both unless stated otherwise.
Additional Resources
-
Git Documentation - Official documentation for Git, including detailed explanations of commands, workflows, and concepts. This is the authoritative reference for understanding how Git works under the hood.
-
GitHub Docs - Comprehensive documentation for using GitHub features such as repositories, branches, pull requests, issues, and authentication. This is especially useful for understanding the GitHub web interface.
-
GitHub Classroom Help - Documentation specific to GitHub Classroom, including how assignments are created, accepted, and linked to student repositories, as well as common troubleshooting guidance.
-
Git Command Cheat Sheet (PDF) - A concise, printable reference listing commonly used Git commands and workflows. This is helpful as a quick lookup while working on assignments.
