how to merge unrelated histories in git code example Example: fatal: refusing to merge unrelated histories git pull origin master --allow-unrelated-histories