I have a test_project git repository on an AWS – I’m not using github.
I want several students to be able to “checkout”, “branch”, “clone”, whatever so they can get all the files available in the project but never be able to “check in”, “merge”, “push”, whatever back into the original test_project.
When I pull projects down I always clone it to my personal machines so I can make changes anywhere and push them before I leave that machine – this way I always have the most recent version of whatever I’m working on (I have 3 machines I’m constantly having to work between).
What commands should I have the students use to “checkout” this project so they can’t accidentally “merge” their changes back to the original repository?
Give access via git:// or https:// protocol. Don’t give them write-access (e.g. via ssh://). If it’s a small repository, dumb http:// might just do fine as well.