In this case, I’ve made a repos directory in ~/Sites where I store any detached git repositories, but you can choose whatever —git-dir you like. Your —work-tree will always be the Mountee drive in /Volumes/.

Submodules and deployment

Obviously your templates aren’t the only elements in an EE project, so we’re currently exploring using Git Submodules to include your templates repo as part of your larger project. We are working through how this might work when it comes to deployment and we hope to have some further details available in this article soon.