Another branch was created on the upstream repo. Let's call it features/demo. Three branches now exist, Master, Develop and features/demo.
My forked repo only has Master and Develop. The forked repo is set as the origin and is my local cloned copy.
How do I pull the upstream branch into my local? Every time I try it wants to merge into Develop or Master because that's what any new branch I make is checked out from.
Edit:
bvbrc_website ❯ git remote -v develop
origin https://github.com/chris-c-thomas/bvbrc_website.git (fetch)
origin https://github.com/chris-c-thomas/bvbrc_website.git (push)
upstream https://github.com/BV-BRC/website.git (fetch)
upstream https://github.com/BV-BRC/website.git (push)
bvbrc_website ❯ git checkout features/integration develop
Branch 'features/integration' set up to track remote branch 'features/integration' from 'origin'.
Switched to a new branch 'features/integration'
bvbrc_website ❯ git status features/integration
On branch features/integration
Your branch is up to date with 'origin/features/integration'.
nothing to commit, working tree clean
bvbrc_website ❯ git push origin features/integration features/integration
Enumerating objects: 46, done.
Counting objects: 100% (46/46), done.
Delta compression using up to 8 threads
Compressing objects: 100% (16/16), done.
Writing objects: 100% (16/16), 2.08 KiB | 2.08 MiB/s, done.
Total 16 (delta 15), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (15/15), completed with 15 local objects.
remote:
remote: Create a pull request for 'features/integration' on GitHub by visiting:
remote: https://github.com/chris-c-thomas/bvbrc_website/pull/new/features/integration
remote:
To https://github.com/chris-c-thomas/bvbrc_website.git
* [new branch] features/integration -> features/integration
bvbrc_website ❯ git status features/integration
Now when I got to the branch on GitHub it shows "this branch is 77 commits ahead, 1 commit behind"