Use the Git and GitHub starter assignment

You can use the Git & GitHub starter assignment to give students an overview of Git and GitHub fundamentals.

Note: The Git & GitHub starter assignment is in beta and subject to change.

The Git & GitHub starter assignment is a pre-made course that summarizes the basics of Git and GitHub and links students to resources to learn more about specific topics.


You must create a classroom before you can create an assignment. For more information, see "Manage classrooms."

Creating the starter assignment

If there are no existing assignments in the classroom

  1. Sign into GitHub Classroom.
  2. Navigate to a classroom.
  3. In the Assignments tab, click Use starter assignment.
Creating your first assignment

If there already are existing assignments in the classroom

  1. Sign into GitHub Classroom.
  2. Navigate to a classroom.
  3. In the Assignments tab, click the link on the blue banner.
The 'New assignment' button

Setting up the basics for an assignment

Import the starter course into your organization, name your assignment, decide whether to assign a deadline, and choose the visibility of assignment repositories.

Importing the assignment

You first need to import the Git & GitHub starter assignment into your organization.

The `Import the assignment` button

Naming the assignment

For an individual assignment, GitHub Classroom names repositories by the repository prefix and the student's GitHub username. By default, the repository prefix is the assignment title. For example, if you name an assignment "assignment-1" and the student's username on GitHub is @octocat, the name of the assignment repository for @octocat will be assignment-1-octocat.

Type a title for the assignment. Optionally, click to edit the prefix.

Assignment title and prefix

Assigning a deadline for an assignment

Optionally, you can assign a deadline to the assignment. Under "Deadline (optional)", click in the text field, then use the date picker to assign a deadline.

Date picker for assignment deadline

Choosing a visibility for assignment repositories

The repositories for an assignment can be public or private. If you use private repositories, only the student can see the feedback you provide. Under "Repository visibility," select a visibility.

When you're done, click Continue. GitHub Classroom will create the assignment and bring you to the assignment page.

'Continue' button

Inviting students to an assignment

By default, GitHub Classroom enables an invitation URL for each assignment you create. Students can accept and submit the assignment while the invitation URL is enabled. You can share the URL with your students on your LMS, course homepage, or wherever you post assignments. Students can also navigate to the assignment on GitHub Classroom if the student has already accepted an assignment for the classroom.

Warning: Be careful where you share invitation URLs. Anyone with an invitation URL for an assignment can accept the invitation and associate a user account on GitHub with an identifier in your roster.

You can see whether a student has joined the classroom and accepted or submitted an assignment in the All students tab for the assignment. To prevent acceptance or submission of an assignment by students, deselect Enable assignment invitation URL. To edit the assignment, click Edit assignment.

Individual assignment

The Git & GitHub starter assignment is only available for individual students, not for groups. Once you create the assignment, students can start work on the assignment.

Next steps

Further reading

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.