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