Regarding commiting sus code to Linux. You missed some details. The problem wasn't that he tried to commit it. After not being successful, you tried it again and that is the point why they decided like this. The university has done this before as well. They always weren't sucessful.