You are only permitted to redistribute source files to other Unreal Engine licensees, so doing so under a public Github repo would likely result in unauthorized distributions.
You can, however, use the Marketplace or a fork of Epic’s UE github. Or you can freely distribute a packaged version of the game as an executable.