As a sole developer on a project, I'm trying to thrash out a simple development and deployment workflow with git, constrained by using a single server for staging and production.

The production path is `/var/www/vhosts/site.com`

The staging path is `/var/www/vhosts/staging.site.com`

I understand how to create a branch for staging and that it's best to have [prime (live site code) and hub (clone codebase) repos](http://joemaller.com/990/a-web-focused-git-workflow/) on the server, and then create a local working clone from the hub. But how do I create a git repo in `/var/www/vhosts/` that serves both production and staging? Do I need separate repos?