Is it ok/legal to publish my game on GitHub?

If by starter content you mean Learning tab content, that’s treated the case as Marketplace content (needs to be inseparably embedded into the product in order to be distributed to the public).