My secrets.yaml file is starting to have a lot of content and I wanted to back it up so I searched for a method of storing in git safely.
I found there is a git-crypt command that will encrypt your files on commit and decrypt on checkout.
You can install on hassbian using apt-get install git-crypt.
It’s also on github https://github.com/AGWA/git-crypt
Since I didn’t find mention of this anywhere on the docs or searching this forum. I thought I would share this find and see if anyone sees a reason why this isn’t the best approach.