Another alternative (that I'm surprised isn't already mentioned) is
https://github.com/lra/mackup.
What it does:
1. moves your dot files and whatnot into DropBox (or Box or Google drive or whatever)
2. symlinks the moved file to the original location