I own exactly two computers. Both of them run Ubuntu.
Since I bought the second to largely replace the first, initially I copied my home directory over to the new laptop and all was well. However, I ended up using both, and their state started to diverge.
To maintain a similar environment, I would like to sync the dot files between these two machines. Preferably without needing them to be on at the same time or in the same place.
My dotfiles contain virtually everything of electronic importance to me: passwords in pass, the GPG keys, SSH keys, know hosts, etc.
How can I simply and securely sync my dotfiles between two computers running Ubuntu?
If it helps, I do have always-on servers which could act as intermediaries but I don't trust their security enough to allow data like this on them in plaintext.