How it works
を (object) marks 枝 (branch) as the thing the action lands on. The verb 折る (break) carries a blunt な (don't) on the end — the plain prohibitive that means "don't do this". It's a sharp, casual order, the kind you'd snap at someone, not a soft request.