Important
See the SSH section here or jump to GPG below. This is focussed mostly on WSL and Windows side-by-side.
This guide favours having the config for both SSH and GPG stored in Windows and symlinked in to WSL.
Consequentially, it's less intuitive as to how to check-in any of the user config.
Windows can't really handle symlinks, so we would have to check-in the config "as is" as far as it exists in Windows, which, at least for WSL's ~/.ssh
which is linked to Windows ~/.ssh
, would cause issue on check-out of the config in WSL, trying to apply it on top of this symlink, or fighting for which OS's ~/.git/*
has most recently touched those files.