Does this help?
help?> Pkg.setprotocol!
Pkg.setprotocol!(proto::Union{Nothing, AbstractString}=nothing)
Set the protocol used to access GitHub-hosted packages when adding a url or developing a package. Defaults to delegating the choice to the package
developer (proto == nothing). Other choices for proto are “https” or “git”.