A git repository is where the version control is handled (pull / push / history / etc).
A bare repository as the version control without a working copy of the files alongside it.
ssh -p 2020 email@example.com
git init --bare
git --work-tree=/home/ttbtheatre/public_html/wp-content/themes/theatre-centre --git-dir=/var/repo/theatre-centre-build.git checkout -f master
chmod +x post-receive
Naming conventions for bare repos
The theme / website name followed by:
–build for staging or
— live for live websites
e.g. Theatre Centre Staging = theatre-centre-build.git
e.g. Theatre Centre Live = theatre-centre-live.git
General updates from the team.