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