I use a linux machine and my mac interchangeably for various tasks. I love Obsidian and wanted to use git to synchronize my work vault on both machines. Using git with Obsidian works seamlessly. If you are familiar with the command line then you can create a private (public if you want) repo and then push your repo to github. From there you can manually sync the vaults using git.
For those less familiar with github:
- Create a repo
- Navigate to your vault on your computer and execute the following commands.
$ git init
$ git commit -A
$ git remote add origin (url of your repo)
$ git push -u origin master
From there you can manage your vaults using git. A gentle introduction to the world of git can be found here.