@thumb it is the best thing I’ve done with git. I have one repo for my applications’ dotfiles and one for my window managers’ files with one branch per WM.
@thumb not how I personally do it but (I tend to just copy around the important ones) but it's a pretty robust way of doing it if you want to set it up:
make a git repo and use GNU Stow to install them in the correct locations when needed.
@thumb I really like chezmoi. It works with git but also allows you to create templates which can contain references for keys/passwords that will then only exist within the local files but never on the repo.
@thumb the best way that ive found is to set xdgconfig home env . And use normal git repo to store the files
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.