Why you should commit dotfiles, and a smart way to do it
Whether you switch laptops for work, or you have a bunch of devices that you use at home, replicating environments can be a pain if you don't have an automated way to do it.
If you rely heavily on tools that require config files (for me it's vim, taskwarrior, skhd, tmux etc) then having to recreate new config files when a new computer arrives isn't ideal.
So we commit them to version control, of course. But it's not that simple with dotfiles that usually live in our home directory or in the .config directory, as these directoried usually contain a bunch of other files we don't want to commit to version control.
To get around this, we can use the power of symlinks.