RPG Maker MZ remote file access question

Hey there,

Quick question, if I have multiple people working on a single project what would be the best way to allow people to access and save the files without overwriting anothers work?

For example:
Person 1 is working on Town 1 map
Person 2 is working on script/plugins

assuming both people are working at the same time, if person 1 finishes, and saves on their end, would person 2 saving overwrite Person 1's work? if so is there a method to have the files live update or would it be better to have everyone understand the file structure and only upload the files they are working on back to the project server?
every team member needs to work on different files, which means you have to check the project files to see what is stored where and organise the team accordingly.
This includes reserving map IDs for different people.

and they need to keep to those limits. If for example someone works on a map and decides he needs some quest items on the map, then he has to ask the person handling items to add them.

and every x working days the team leader needs to collect all files, assemble the project and then distribute it again to everyone.
It is hard to do due to the database management of the editor, everything is refered by id. The best bet is you have some plan and create many place holder maps and other data.
I would recommend using source control like Github/Gitgud, then team members could check out the files they're working on and check them in with changes. Git performs merging when a file is checked in that's usually pretty adept at automatically factoring in changes from multiple sources, and has fairly easy method to resolve merge conflicts when they happen.
Awesome thanks for all the input everyone.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mz-remote-file-access-question.176524/