To set an upstream branch for your current branch, you can use the --set-upstream-to option with the git branch command. For example:
git branch --set-upstream-to=origin/branch-name
Alternatively, you can use the -u option with git push:
git push -u origin branch-name