Two apps for one ionic project

I want to make two different apps sharing the same contents of www folder, what would be the best approach to have an easily maintainable project?

What I have now is the repository of the common project and now I need to create the second app, but I don’t know if it’s better trying to play with git (forking the repository or creating submodules) or better trying with hooks.

Any suggestions?