Colour output from "git-branch -a"

Working on a Mac-Notebook O/S 11.4
Response received to command line “git branch -a” typed to Terminal uses colours, which seem not to be available in this text box. I therefore use BOLD for green font and ITALIC for red font. Black font is neither in italics not in bold. I have not tried to replicate, in the rendered form of this markdown, the white space output by Teminal on my Macbook.

develop
doc-stainnorm

  • doc-tissuemask
    feature-pixel-patch-gen
    feature-tissue-masking
    master
    remotes/origin/HEAD → origin/develop
    remotes/origin/bug-doc-fix
    remotes/origin/dev-improve-coverage
    remotes/origin/develop
    remotes/origin/doc-installationinstructions
    remotes/origin/doc-stainnorm
    remotes/origin/doc-tissuemask
    ,

I understand the green telling me which branch I have checked out.
But the red is a mystery to me. Can someone tell me what it means?
Thanks.

Those are remote branches, that’s where the remotes/ prefix is coming from. When you fetch a remote repository (that also happens as part of clone and pull), your local repository stores information on the available branches (and other refs) in that remote. origin is the name of the remote, you can see its details with git remote show origin.

For more on remotes, see: Git - Working with Remotes