My personal boilerplate sets up WordPress as a submodule for a local/staging/production workflow.