[Solved] IDEA Git Update Error: Master has no tracked branch

Solution:

git pull origin master --allow-unrelated-histories
git branch --track master origin/master
or
git branch --set-upstream-to master origin/master

Read More: