Skip to content

Git and GitHub During the Assignment

mike-snhu edited this page Aug 16, 2026 · 2 revisions

Git and GitHub During the Assignment

Git records versions of your assignment files. GitHub stores your personal repository online so you can back up your work and continue from another configured computer if needed.

GitHub is not the assignment submission system. Submit graded work in D2L Brightspace according to the current Guidelines and Rubric.

Save Locally First

Save your .pseudo file in VS Code before committing it.

From the repository root, check your changes:

git status

Commit and Push

The top-level README gives the recommended command sequence. A commit records a snapshot in Git; git push sends your commits to your personal GitHub repository.

Use short commit messages that describe the progress you saved, for example:

Draft bounds validation pseudocode

or:

Revise guessing loop design

Keep Your Personal Repository Private

The setup command creates your assignment repository as private. Keep graded assignment work private unless the course explicitly directs you to share it.

Do Not Create a Second Template Copy by Accident

You create the personal assignment repository once. When you return later, open the existing local folder.

If you move to another computer, clone your existing personal repository instead of creating a new repository from the course template.

Before Submitting

Use git status and verify that your latest changes have been committed and pushed. GitHub provides a backup, but the file you select in D2L Brightspace is what your instructor grades.

Clone this wiki locally