you could try to setup a remote database server and connect both local environments to the same database.
If you can export your template configuration you can place it in the project\resources folder. With a java action from the community commons (FileDocumentFromFile) you could import the template on start up. That way every new environment you spin up has a working template config and you don't need to configure it manually everytime for every developer or environment.
Another solution would be a microflow in which you recreate the template and call this microflow in a after startup microflow.
If you are using Default database, then following documentation will help you to create Snapshot