Track dot files in Git.
git clone --separate-git-dir=~/.myconfigs git@github.com:jsimatic/myconfigs.git ~
source .zshrc
git clone --separate-git-dir=$HOME/.myconf git@github.com:jsimatic/myconfigs.git $HOME/myconf-tmp
cp ~/myconf-tmp/.gitmodules ~ # If you use Git submodules
rm -r ~/myconf-tmp/
source .zshrc