By default, Git shows branches as a list:

git branch
* main
  feature-1
  bugfix-23

If there’s a long list branches, it wastes screen space. You can show them in column mode with

git branch --column
# or permanently
git config --global column.ui auto
* main     feature-1     bugfix-23