Abstract: A hub assembly is provided for a human-powered vehicle. The hub assembly includes a hub axle, a hub body, a cable and a cable protector. The hub axle has a first axial end and a second axial end. The hub body is rotatably mounted on the hub axle to rotate around a rotational center axis of the hub assembly. The cable has a first portion disposed inside of the hub assembly and a second portion disposed outside of the hub assembly. The cable protector is movably arranged between a first position and a second position. The second portion of the cable extends along the rotational center axis where the cable protector is in the first position. The second portion of the cable being at least partly restrained in an angled position with respect to the rotational center axis where the cable protector is in the second position.