When npm resolves a git dependency through the involved npm repositories, an https git URL can lose its https protocol during resolution and be handled as a different transport. Reproduce the reported behavior with the npm CLI and pacote repositories. The expected behavior is that https git URLs preserve their protocol throughout resolution while existing git URL handling remains compatible.