git拉取代码报错:No tracked branch configured for branch master or the branch doesn‘t exist.

No tracked branch configured for branch master or the branch doesn’t exist.
错误:
解决办法:
按照提示在项目目录文件夹下输入 git branch --set-upstream-to origin
即可;
还不行的话输入 git branch --set-upstream-to origin/master