Obsidian iPhone sync - iCloud or GitHub via Working Copy?

Previously, I used Logseq, and I found iCloud to be very frustrating.
In Obsidian, can I use iCloud to sync between my Apple devices, or would Git be a better option?

I’d say pick the road less travelled – there are many things against iCloud (use forum search).