PHP script to mirror one Git repository to another; to be used as post-commit hook