I've a project structure like this in a git repo:
/Code
/admin
/api
/DB
/Docs-Files
/UI-UX
I want to clone /admin and /api onto my server www directory and keep it in sync with git, so that the structure on server becomes:
/www
/admin
/api
So is it possible to clone like that? I checked out this answer and was able to clone /Code/admin and /Code/api under www.