refusing to merge unrelated histories git

Shell
git pull --allow-unrelated-historiesgit pull origin master --allow-unrelated-historiesfatal: refusing to merge unrelated historiesfatal: refusing to merge unrelated histories
solution:
git pull --allow-unrelated-historiesI think its get sorted after using below command
>git pull --allow-unrelated-histories
Source

Also in Shell: