Check out Syncthing for Obsidian
You can use a free app called “Synctrain” or $5 paid app “Mobius Sync Pro”
If you also wanted to keep a copy on your Github, sync to your Github Folder via Github Desktop or Automate it
If you’re interested check out this thread
If using Git on the computer, add “.git” to the file exclusions in Syncthing, so git history isn’t synced to iOS.