Adding theme as a submodule

Hi there,
I want to install a custom developed theme in the themes folder.
In my git hub repo I have this theme as a submodule. However, cloning my main repo is not installing this theme.
I added recursive: yes in trellis/roles/deploy/tasks/update.yml under “Clone project files” but this did not work.

How can I get my theme installed using submodules ?

Does it have to stay as a submodule?

Someone proposed this change a while ago to allow cloning with submodules so it might be helpful for you as well.

thanks @swalkinshaw. Yes preferably we would want to keep it as submodule