use preferred remotes (origin then upstream than first in then error)