When we put our mod under source control, these are the folders we added under the Data directory:

Editor/Mods/<your mod name>
Mods/<your mod name>
Projects/<your mod name>
Public/<your mod name>

Checking out those directories was always enough to re-create our mod to run in the editor from scratch.


DOS2 Mods: Happily Emmie After and The Noisy Crypt

Steam Workshop
Nexus Mods