When creating course programming assignments I often work in a Github repo. These repos usually contain commits that have the solution to the assignment. Since I don't want to make those commits available to the class is there a way to prohibit access to the commit history?
Right now I end up having to create a brand new repo and copying the code in manually so there's no commit history. Or providing a zip of the repo. But a zip is awkward because sometimes I want to make a change to the code in the assignment. There must be a better way! (I'd be psyched for solutions that can be done through the Github GUI if possible. But I'll settle for command line.)