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