Create an assignment from a template repository

You can create an assignment from a template repository to provide starter code, documentation, and other resources to your students.

You can use a template repository on GitHub as starter code for an assignment on GitHub Classroom. Your template repository can contain boilerplate code, documentation, and other resources for your students. For more information, see "Creating a template repository."

To use the template repository for your assignment, the template repository must be owned by your organization, or the visibility of the template repository must be public.

You may want to predefine the default settings for the assignment repositories that GitHub Classroom creates from a template repository. For example, you may want to disable issues, define labels for pull requests, or protect a branch in some or all of the repositories. For more information, see "Configure default settings for assignment repositories."

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.