Many PHP hosters allow git syncing for a few years. One issue are co-workers/clients who change things directly via FTP. Having a local copy with docker (maybe vscode containers) works very well for testing. I assume OP has a lot of clients who do not have the budget for test environments which happens a lot.
The SFTP workflow does work quite well, there are plugins for sublime text / vscode.