Git 上那些红色的远程分支是什么?

What are those red remote branches on Git?

我是 git 的新手,正在尝试设置存储库。

我有两个分支(masterxyz)。

我目前的工作流程:

  1. 更改为特定分支,例如git checkout xyz
  2. 进行更改
  3. git add .
  4. git commit -am 'whatevermessage'
  5. git push origin xyz

到目前为止一切正常。但是当我 git branch -a 查看我所有的分支时,我得到以下输出:

master
* xyz
remotes/origin/master
remotes/origin/xyz

remotes/origin/masterremotes/origin/xyz 显示为红色。我试图弄清楚红色的含义,但我找不到任何东西。因此,假设红色相当于某种错误:红色是什么意思,我该如何解决?

黄色是本地分支,红色是远程分支。

默认:

[color "branch"]
    local = yellow
    remote = red
    plain = normal