@Samuo, Thank you for the detailed instructions.
Despite the fact that I use a Mac, I was able to translate a couple of commands and still follow your instructions to the letter – except I sync Obsidian (so I put the git folder in the Vault which resides in iCloud).
The only problem is, when I hit the “Commit all changes and push to remote repository” option, I keep getting a xcrun error.
I got the same error a week ago when I first installed Obsidian Git and tried to enable it. I uninstalled and reinstalled a number of times – both on the Mac and iOS app, but still got the same error.
I have checked my GitHub repo, after installing your way, and there’s just the one readme file that was created when I set it up.
Any thoughts on what I can do? Many thanks in advance.