will it be a good idea to put even ordinary code onto github ?
I have been writing a lot of code lately. Most of this code is for students who are trying to learn some concepts. The code is ordinary (or bad), it doesn't really do anything useful besides helping the students understand some concepts. e.g. how to detect an object in image using matlab. 

I realized that Github is a quick way to share code with students. But I wonder if this will hamper my reputation as a coder in future.
will it be a good idea to put even ordinary code onto github ?
===

I have been writing a lot of code lately. Most of this code is for students who are trying to learn some concepts. The code is ordinary (or bad), it doesn't really do anything useful besides helping the students understand some concepts. e.g. how to detect an object in image using matlab. 

I realized that Github is a quick way to share code with students. But I wonder if this will hamper my reputation as a coder in future.