There is a test repository, on the server it lies in the directory:
/git-data/repositories/root/test.git The working site itself is located on the same server, but lies in the /sites/test/ directory.
How to upload all changes from the master branch (or some other, for example qa-release-1.0 ) repository to the working folder of the site (or for the qa-release-1.0 branch there will be another site folder where the test copy of the site is located)?
In other words, how to deploy the master repository branches to the test directory /sites/test/ , and the qa-release-1.0 branches to the /sites/test-qa/ directory? (all on the same machine)