fix git protocol when it uses over proxy