I am new to Git, and still learning it.  

I am trying to clone a Git remote repository called `hello-world` to my local machine.

On the remote (github in this case) the repository has two branches

1. `Main`
2. `Branch1`

But when I clone this repository and enter the command `git branch` it shows the `main` branch only.

I learned that with `--branch` for the `clone` command I can tell git to explicitly download another branch than the default. It works as expected, so when I `git clone https://github.com/ShivMahla/hello-world.git --branch branch1`, git downloads the repository with that `branch1`, however this time I found `main` is missing when I am using `git branch` command.

Please let me know what mistake I am doing.

I am expecting both branches should come to my local system and when I use `git branch` command it should show two entries to me

1. main/master
2. branch1

Do I need to make any setting in GitHub account for this?