My personal dot env files managed with stow.
In order to add a new config file you have to create a new folder inside this repository, and mimic the project structure of your home directory. So for example:
git/.config
└── git
└── ignoreThen you can run stow command to link the files.
# -n flag is useful to check if we're linking the right files.
stow --adopt -nvt ~/.config .configNote: watch this awesome tutorial to learn more.