It’s a bit extreme to say putting projects on GitHub is worthless when it comes to generating job opportunities. In my experience, if you’ve got a project that delivers a ton of value to a suffiently large set of people, somebody usually will reach out.