git refusing to merge unrelated histories

Shell
fatal: refusing to merge unrelated histories
solution:
git pull --allow-unrelated-historiesgit pull --allow-unrelated-historiesgit pull origin master --allow-unrelated-historiesgit pull --allow-unrelated-histories origin mastergit pull origin master --allow-unrelated-histories
then when asked for merging vim editor opens click insert (i) type msg and :wq to save and exitgit pull origin master --allow-unrelated-histories
Source

Also in Shell: