Why the remote branches are not shown in the ".git\refs\remotes\origin\" folder?

Viewed 436

In my test github repo, all my remote branches are shown in the .git\refs\remotes\origin\ folder. Like this:

enter image description here

But I just checked another non-toy repo, all the remote branches cannot be seen in that folder. Like this:

enter image description here

But the git remote show origin does show a lot of remote branches. And I still can create new local branch to track those remote branches.

Why?

1 Answers
Related