Our team is looking into using GitHub + Obsidian exactly because of this scenario. Even if corporate machines would get Obsidian installed, there’s no way for them to sync to OneDrive / Google Drive.
So when you’re on your home computer or personal laptop, things are fine. When you’re in corporate environment, either use GitHub editing functionality or get a copy of your files with all of the edits home at the end of the day and create a new commit to GitHub.