Add the git flatten command
Clone this and put its bin directory in your path: https://github.com/mbklein/git-tweaks
All you have to do to flatten is switch to the branch you want to flatten (master), then flatten and push:
Get back to the modularized master
Get the modules directory out of the way or git will complain of conflicts when you try to switch back to master. Then the reset --hard fixes that.
Copy them to sycamore and symlink at /srv/php/vov-prod-8803/htdocs/downloads