In fact some companies explicitly prohibit publishing code publicly without requesting special permission.
I don't think candidates should be excluded based on the lack of a github repo.
I don't think candidates should be excluded based on the lack of a github repo.