Geometry of lines and degeneracy loci of morphisms of vector bundles