My solution was to create a shared folder for all repositories named /home/repo/home/repo.
thenThen symlink from my own home like: ln -s /home/repo ~/Codeln -s /home/repo ~/Code so ~/Code/www.xxxx.com/public~/Code/www.xxxx.com/public points to /home/repo/www.xxxx.com/public/home/repo/www.xxxx.com/public
and also a link into apache web root /var/www/html/var/www/html points to /home/repo/www.xxxx.com/public/home/repo/www.xxxx.com/public
foundFound it here: https://github.com/alghanmi/ubuntu-desktop_setup/wiki/Git-Local-Repository-Setup-Guide
withWith some symlink+user groups acrobacy you can have multiple users/versions deployed.