The Easiest Way to Setup Obsidian Git (to backup notes)

I watched a few videos on how to setup the obsidian-git plugin and it feels like most of them overcomplicate the process. So I decided to write a set of instructions and a video to show how easy it to accomplish this even if you have no idea what “git” is.

By the end of this tutorial, you will be able to sync your notes from Obsidian to Github for free!

  1. Create a repository or fork the md repo in github
  2. Download Git
  3. Create a personal access token from githubcreate-pat-github.png
  4. Install the Obsidian Git community plugin
  5. Create a folder to store the repository. (e.g. remote-blog/). Set scopes to repo & expiration to no expiration
  6. Run the command (CMD/Ctrl + P): Clone an existing remote repo clone-repo-git-plugin.png
  7. Paste the URL of the forked repository in the following format

For example it might look like this:

https://ghp_XXXXXXXXXXXXXXXXXXXXXX[email protected]/ithinkwong/linked-blog-starter-md.git
  1. Then type in the folder you created in step 5 (e.g. remote-blog/)
  2. Restart Obsidian
  3. Make edits to your notes
  4. Publish your notes run the command “Obsidian Git: Create backup” by opening the command palette (CMD/Ctrl + P)

I tried this on my friends iPad but during the last steps it failed.
I think 7 or 8.

The error is that it does not show any files or folders.

Without showing any failure iin a popup.

I will investigate further but maybe you have an idea.

The first thing I have to google is how to activate the logs on iPad (I think I did it once…)

Yes my git cloning failed on iPad too. Always aborting at some point of the directories.

I’ve only tested it on desktop versions. I think the mobile version of git is a different setup unfortunately. :frowning: