I have a git repo checked out from github, but it refuses to acknowledge any remote branches.
Here's what I've tried (names changed to protect the guilty):
$ git pull
Already up-to-date.
$ git fetch
$ git remote update
Fetching origin
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
$ git remote show
origin
$ git remote show origin
* remote origin
Fetch URL: git@github.com:Someplace/someproject.git
Push URL: git@github.com:Someplace/someproject.git
HEAD branch: master
Remote branch:
master tracked
Local branch configured for 'git pull':
master merges with remote master
Local ref configured for 'git push':
master pushes to master (up to date)
$ git remote -v
origin git@github.com:Someplace/someproject.git (fetch)
origin git@github.com:Someplace/someproject.git (push)
On another machine, it just works:
$ git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/master
remotes/origin/somebranch
...