Etymology
Today it means: The person in charge of an engine shed (or locomotive shed). Full definition →
From shed + master.
Etymology from Wiktionary, CC BY-SA 4.0.