Solution:
Find the config file in our local project directory (in the .git folder under the project);
Modify the content of the config file to:
[core]
symlinks = false
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[remote "origin"]
url = 自己项目的git地址
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
rebase = false
3. Execute the pull method again