The transverse cervical nerve consists of branches from the cervical nerves C2 and C3, passes around the midpart of the sternocleidomastoid muscle, and continues horizontally across the muscle to supply the lateral and anterior parts of the neck.