How to create an agnostic branch in git

git checkout develop
git pull upstream develop --rebase
git checkout -b yourBranch
git push upstream yourBranch
git branch -u upstream/yourBranch yourBranchgit rebase develop

Before you push

git rebase develop

You should pull the latest develop into your branch before merging, so that you can create a merge commit which will run the latest develop ci functionality in your pr as well.