ref
late 19th century: Spanish from French chefchief.
Borrowed from Spanish jefe(“leader, boss”). Doublet of chief.