The Git source control tutorial describes how to use Git with UE projects. So: Is it ok/legal to publish my game on GitHub? What about assets from the starter content/examples (e.g. ShooterGame)/marketplace?
Off topic: It would be nice to describe .gitignore in that tutorial.