Improve git URL detection to recognize plain HTTP/HTTPS URLs ending in `.git` and prioritize git resolver over tarball resolver. close #10468
Improve git URL detection to recognize plain HTTP/HTTPS URLs ending in `.git` and prioritize git resolver over tarball resolver. close #10468