The process that gives rise to the hypoglossal nerve. This process pertains to the initial formation of a structure from unspecified parts. This motor nerve innervates all the intrinsic and all but one of the extrinsic muscles of the tongue.