Sometimes when I do “git pull” I got a message back
fatal: refusing to merge unrelated histories
After some searching, I found the solution is to force the pull to allow unrelated histories by using this command
git pull --allow-unrelated-histories
I still don’t know yet what the reason behind it. But I will surely try to find it out and when I find the reason behind it, I shall share it here as well.