Git has disallowed the file transport by default now so git-clone-to-dir.sh fails with fatal: transport 'file' not allowed. The solution is either git config --global protocol.file.allow always (for all clones on the machine) or git -c protocol.file.allow=always clone <other stuff as usual> (for the individual clone command).
Git has disallowed the
filetransport by default now sogit-clone-to-dir.shfails withfatal: transport 'file' not allowed. The solution is eithergit config --global protocol.file.allow always(for all clones on the machine) orgit -c protocol.file.allow=always clone <other stuff as usual>(for the individual clone command).