Public repositories
Using public repositories simplifies a lot the configuration phase for the assignments. If it is acceptable for the code to be publically available on GitHub, we recommend using the public assignments.
This page describes how private assignments are managed via GitHub. In short, it works like this:
This collaboration method is quite similar to the way professional developers use GitHub.
From the MakeCode editor, the student creates a private repository for the assignment that will be hosted under their account (Make sure to select private!). All students should name the repository with the assignment name (e.g. “homework” in this example).
The student will have to invite the teacher as collaborator.
It’s time to work! Students can create all their work and use the commit & push button to save it. It is a good idea to encourage them to perform a commit whenever they feel they have made significant progress. Make sure they provide a meaningful description of the changes for the commit.
The teacher can use the MakeCode GitHub Explorer to easily browse the repositories of a user. If needed, the teacher can also review the entire history of the project on GitHub.
If the student wants to add this project to their portfolio, they can simply make it public and it will be visible on their GitHub user page.