Borrowed from French verge (“rod”). Doublet of verga.
Practica parlar i memoritzar " verja " i moltes altres paraules i frases a espanyol .