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