I have a similar setup as described in the article WordPress + Composer + GIT using a customized Bedrock stack: