Apply .git
logic handler for repo URLs
#3655
Merged
.git
logic handler for repo URLs
#3655