I've started with a company as head of the web team. The previous person build custom EVERYTHING including a "CMS" that has multiple variations. Along with this hodgepodge of "systems" (with no documentation) I've also become in charge of over 200 domains. I'm currently working with the team to moderize the the processes such as adding Slack, allowing the team to use javascript libraries, moving SASS, etc.
They used SVN for version control but the last head didn't like branching because "it gets messy". SVN is such a nightmare with how it's setup I'm moving the team to GitHub.
Now, I have over 200 domains and probably about half of these if not more have a repo. The ones that don't are either hardcoded or the cms was hacked to allow multiple sites to use the same repo.
I don't really want to have 200+ private repos to maintain. I've worked the past couple of days cataloging every domain, their host, their repos, etc. Plus I've categorized them.
My original plan was to have the master branch
reflect the production server and the dev branch
reflect staging. The team would branch off the dev branch to do daily work. That seems daunting.
My new idea is to create repos based on my 6 categories, have a master that holds data for all sites, create site branches, and create a dev branch off each of those. Trying to wrap my head around that though.
Am I on the right track? Should I just make the 200+ repos since I can make unlimited repos? First time I've had this problem, need some advice here.