One creates a new git branch:

```
git checkout -b test

```

and pushed it to origin:

git push origin -u test

and listing all the branches now I get:

```
  master
* test
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/test

```

Now, on another machine I want execute a command to get the remote branch refs. How can I do this?

I want to have the output:

```
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/test

```

And the command IS NOT AWARE of the name of the new branches.

I have tried: `git pull`, `git pull --all`, `git fetch`, `git fetch --all`. What else?

EDIT: I need a command that tells me:

```
* [new branch]      test       -> origin/test

```

Is this possible WITHOUT checking out a branch first? I also don't want to remove my repo and clone it again.