Nothing has been overwritten. Choose which copy wins — the other one is replaced.
Use a private repository initialized with a README, and a fine-grained token ↗ limited to that repository with Contents: read/write. The token stays in this browser.
Every edit is saved on this device immediately. Once connected, edits upload to GitHub after 30 seconds, or when you leave or close the tab. Opening or returning to the app checks GitHub for a newer copy. If both copies changed, nothing is overwritten — this sheet asks which copy wins.