The story
A compound of turn + coat, reportedly derived from the sometime military practice of wearing uniform coats that were lined in material of a contrasting color, and which could be worn inside out to present a different appearance.
Etymology from Wiktionary, CC BY-SA 4.0.