# Bug: git-gui creates unwanted branch

1 messages from 2022-02-11 to 2022-02-11. Participants: Joe Brown.
Thread: https://gitlist.dev/t/57404

## Joe Brown, 2022-02-11 10:24

Subject: Bug: git-gui creates unwanted branch
Message-ID: <CAGsxCrHSif=ZRFT4TnJnMo1-u2=jTcN9FKJECmmFmyAVQhfk5A@mail.gmail.com>
URL: https://gitlist.dev/e/CAGsxCrHSif%3DZRFT4TnJnMo1-u2%3DjTcN9FKJECmmFmyAVQhfk5A%40mail.gmail.com

```
Heya folks

When cloning a repo with the git-gui, it creates a branch branch
called master even if there is no such branch on the remote. In fact
it will create a branch according to whatever value init.defaultBranch
is set. Tracking branches are set up correctly. This doesn’t happen
using git cli, so I don’t think it should happen using the gui.

Cheers,
Joe

```
