Where does “which've” come from?

which've (English) comes from English which, from Middle English which, from Old English hwelċ, from Proto-Germanic hwilīkaz, from Proto-Germanic hwaz, from Proto-Indo-European kʷos, from Proto-Indo-European kʷ- — The primary interrogative root.

Ancestry of “which've”, step by step

which've traces back through two separate lines of ancestry.

via English which

StepLanguageWordMeaning
1EnglishwhichWhat, of those mentioned or implied; The one or...
2Middle Englishwhichwhich
3Old Englishhwelċwhich
4Proto-Germanichwilīkazwhat kind of, what sort of
5Proto-Germanichwazwho, what; whose; whom
6Proto-Indo-EuropeankʷosSee *kʷis
7Proto-Indo-Europeankʷ-The primary interrogative root

via English ’ve

StepLanguageWordMeaning
1English’vein its sense marking the perfect or retrospective aspect
Every word from Proto-Indo-European kʷ-