Yes also means "Y"s in some dialects of Spanish, like the plural of the letter Y. Maybe since the Y looks like a fork there must be some bizarre neural network connection there?
It's not unheard-of for English speakers to use it that way — "I was driving down the road and came to a Y", meaning a fork or branch.
And then it got turned into a word: wye.
Spanish youngster wants to learn English, and finds the office of a language school. He enters, finds the office of the principal, and knocks on the door. After a short while, he hears: "If, if, between, between!"
This unfortunately reminds me of the level of english guidance my "teacher" would provide at 5th grade down here in Brazil. At least I learned to use a dictionary.
There's a joke in Portuguese where "entre, meu bem" is translated to English as "between, my well" (in context it should be "come in, my dear").