在使用git branch <branch_name> 命令創建分支;並使用git push origin <branch_name> 推送分支到遠程後
如果出現了本地分支與遠程分支沒有關聯上的問題,如下圖操作可解決問題: