Hello, I have several machines where I have the same repository.
So, when doing an update on a file and uploading it to the cloud, all the machines that are connected to that repository would do a git pull. So that when an update is detected, it is updated.
Have I explained myself clear enough?
If the machines are reachable from the internet you could use webhooks or set up an Actions workflow that notifies them in some other way.
Otherwise you’ll have to regularly check for updates from those machines, e.g. using a cron job. That won’t give you updates as soon as they happen, though, only at the next update run.