HA Git Sync — safe, bidirectional git sync for /config (with per-file/folder policy)

Hi all,

I built HA Git Sync, a Home Assistant add-on that keeps your /config
directory synced with a git repository - both ways.

Why another git add-on? The old “Git Pull” add-on only pulled, and had
a history of data-loss reports when local changes collided with remote
ones. I wanted something that:

  • Syncs in both directions (push local edits out, pull remote edits in)
  • Never silently overwrites either side — conflicts are detected and
    surfaced, not auto-resolved
  • Lets you control sync behavior per file or folder: automatic vs.
    manual, and in which direction (in / out / both). Default is manual,
    so nothing moves until you say so.
  • Shows you a review screen of pending changes before they’re applied
  • Respects a configurable ignore/scope list, so secrets and noisy files
    never get swept into the repo by accident

It runs entirely inside your HA instance, talking directly to the git
remote you configure - no third-party service in the loop.

Install:
Add this repository to your Home Assistant Add-on Store:
https://github.com/a4ng3i/ha-apps

Then install “HA Git Sync” from the store and configure your repo URL
and credentials in the add-on’s settings. A “HA Git Sync (Beta)” add-on
is also available in the same repo if you want to try upcoming changes
before they reach the stable release.

Source, docs, and changelog: GitHub - a4ng3i/ha-apps: Public facing repo for HA apps · GitHub

Enjoy it!

Feedback, bug reports, and feature requests are very welcome — please
open an issue on GitHub.

Add-ons have not been a thing for almost 2 years at this point. Please use the name Apps.

Also the install instructions here cannot work as described as the paths have changed, so testing all the code and especially the install beyond what an AI tells you it is would be helpful to all.

New people that have never heard of the old term might not even know what this is.

This might help: My Link / EZ-Button to help users install your App

I have just created about the same recently:

Where mine differs is that it splits each Automation and script into a seperate file on GitHub. That makes management much easier. Especially when you use an AI to write/update your automations or scripts on GitHub (which is what I do).