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