This is because you did not install upstream (which means which remote branch you want to track).
To set up a remote tracking branch:
If the local branch is created on your local computer, then when you click on the remote computer, you can use the -u / --set-upstream option when you do git push .
If a branch is pulled from a remote branch, you can use the --track option when you do a git checkout .
To fix this (install the remote tracking branch), simply run the git command:
git branch --set-upstream-to=origin/<branch> my_branch
source share