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