Turning in assignments for Games 50 requires that each project be pushed to a separate branch on a github-hosted repository. I prefer to work in separate repositories, and host them on sr.ht. Git makes it fairly easy to work this way, but the syntax is a bit arcane and I never get it correct right away. Especially if I need to update the turned in code for some reason.
I initialize my repository as described here and work normally. Then I set up the repository where assignments are turned in as follows:
git remote add gd_50 email@example.com:me50/USERNAME.git
git push gd_50 master:refs/heads/games50/assignments/2020/x/1
I’m trying on Kev Quirk’s “100 Days To Offload” idea. You can see details and join yourself by visiting 100daystooffload.com.