Windows Git symlinks

Windows Git requires one-time settings to enable Git symbolic links. If a computer doesn’t have these settings, it can create problems with inability to reset a Git repo, where the repo may have to be erased and re-cloned to fix. If an existing local Git repo on a Windows PC has problems with symbolic links, it may be necessary to re-clone the repo after first making these one-time settings.

Set Windows user permission to create symbolic links. Configure Git globally on the Windows PC to handle symlinks:

git config --global core.symlinks true

Git symlinks should only refers to paths within the Git repo. Where possible it is preferable to avoid symlinks, but this method above often works on Windows PCs for Git symlinks.