- Create a Bare Repo on Server
mkdir website.git
cd website.git
git init --bare```
2. Create a Hook to copy files from the bare git directory to the nginx/apache website directory
mkdir website.git
cd website.git
git init --bare```
2. Create a Hook to copy files from the bare git directory to the nginx/apache website directory