References resources: https://publish.obsidian.md/git-doc/Authentication https://publish.obsidian.md/git-doc/Getting+Started

Step 1: Install git on your Computer

you can install through their website with all the default settings, have 3rd party software access enabled

  • enable git credential manager

Step 2: Create a GitHub account and a New empty repository

  • create a new repository and make sure there is nothing in it.

Step 3: Set up Authentication on MacOS

There are two methods: SSH and HTTPS

  • HTTPS use MacOS keychain to store credentials
git config --global credential.helper osxkeychain

The rest of the steps continue from here