git unrelated histories fix code example Example: git display unrelated histories git pull origin branchname --allow-unrelated-histories