I was searching tools for managing dotfiles, and I came across yadm. I still haven't tried it, but I am considering to give it a shot. It's git-based, supports system-specific files or templates, private data encryption, bootstrapping and hook mechanisms.