git pull origin master --allow-unrelated-histories

https://git-scm.com/docs/git-merge#git-merge---allow-unrelated-histories