from a Giant Revolt, used for a few months cable in god condition, it might need the length shortening or even a longer cable, it was a medium frame with a high handlebar, so for most bikes it will be long enough for a very simple installation with no adjustments required.
eBay