1. 切换到主分支或你想从哪里创建新分支
git checkout master
2. 创建并切换到新的本地分支 develop
git checkout -b develop
3. 将新分支推送到远程存储库
git push origin develop
4. 设置本地 develop 分支跟踪远程 develop 分支
git branch --set-upstream-to=origin/develop develop
git checkout master
git checkout -b develop
git push origin develop
git branch --set-upstream-to=origin/develop develop