Add support for hidden folders in Obsidian Sync

Use case or problem

I want to maintain a local version history of my vault using Git (without using a remote repository). I would like to sync the .git folder using Obsidian Sync, but it doesn’t work because Obsidian ignores hidden folders.

Proposed solution

Allow syncing hidden folders. There could be an option in Sync settings to manually list which hidden folders to include.

Current workaround

I could use a separate solution to sync the .git folder, but I’d be concerned of creating conflicts between multiple sync services. This would also require unnecessary extra setup.

Related feature requests


I have found other problems with this approach to versioning, so I might not use this feature exactly for the use case I mentioned. But I still think it would be a useful option to have.