Best way to sync code across multiple devices during development session
So basically I am developing a project working with a group of devices that each of them assumes one of 3 different roles.
As I am in the development stage, I am doing a lot of changes to the code and want to sync this change to the relevant devices.
The way I setup this is that I have a git repo with 4 folders one folder for each role (3 total), and one single folder for the shared code (shared libraries and API among the 3 different roles).