I want to set up Git so I can have various versions of the same website accessible simultaneously. For example, a \'Sandbox\' site, a \'Staging\' site and a \'Production\' s
Checkouts in the post-update hook will work, but you might want to define also GIT_DIR
GIT_DIR
See:
That will make sure the git commands knows where the git repo is.