If URL has a port number like https://foo.example.com:8080/bar/xyz.git it should clone to foo.example.com/bar/xyz.
Expected behavior
git get https://foo.example.com:8080/bar/xyz.git
Should clone to ~/src/foo.example.com/bar/xyz
Actual behavior
Clones to ~/src/foo.example.com:8080/bar/xyz
If URL has a port number like https://foo.example.com:8080/bar/xyz.git it should clone to foo.example.com/bar/xyz.
Expected behavior
Should clone to ~/src/foo.example.com/bar/xyz
Actual behavior
Clones to ~/src/foo.example.com:8080/bar/xyz