Backing up to gitHub?

Could the HedgeDoc 2 support for backing up to gitHub ? I want to clone all notes to local and edit it use terminal like a gitHub project

Hi @zhaoruoping,
welcome to the HedgeDoc community!

The feature for Git synchronisation is requested quite often and we have an open issue for this with several ideas and discussions:
However, we determined this feature to be out-of-scope for version 2.0.