title: Fail to use git pull "Couldn't find remote ref xxx"
body: <p>I come up with a problem about git pull.</p>
  
  <p>Firstly, I am in "test_http_1204" branch,</p>
  
  <pre><code>root@inception-server-Quantal:~/bosh# git branch
                master
              * test_http_1204
                ubuntu1204
  </code></pre>
  
  <p>Then I use git pull, and got an error message,</p>
  
  <pre><code> root@inception-server-Quantal:~/bosh# git pull m109bosh test_http_1204
      fatal: Couldn't find remote ref test_http_1204
      Unexpected end of command stream
  </code></pre>
  
  <p>But, I can find branch "test_http_1204" in my remote repo "m109bosh",</p>
  
  <pre><code>root@inception-server-Quantal:~/bosh# git branch -a
    master
  * test_http_1204
    ubuntu1204
    remotes/m109bosh/master
    remotes/m109bosh/patch-1
    remotes/m109bosh/test_http_1204
    remotes/m109bosh/ubuntu1204
    remotes/origin/HEAD -&gt; origin/master
    remotes/origin/floating_dns_registry
    remotes/origin/http_stemcell_uploader
    remotes/origin/master
    remotes/origin/squashed
    remotes/origin/ubuntu1204
    remotes/origin/upstream
  </code></pre>
  
  <p>And, the content of .git/config is shown below:</p>
  
  <pre><code>  root@inception-server-Quantal:~/bosh# cat .git/config 
      [core]
          repositoryformatversion = 0
          filemode = true
          bare = false
          logallrefupdates = true
      [remote "origin"]
          fetch = +refs/heads/*:refs/remotes/origin/*
          url = https://github.com/cloudfoundry-community/bosh-cloudstack-cpi.git
      [branch "master"]
          remote = origin
          merge = refs/heads/master
      [branch "ubuntu1204"]
          remote = origin
          merge = refs/heads/ubuntu1204
      [remote "m109bosh"]
          url = https://github.com/m1093782566/bosh-cloudstack-cpi.git
          fetch = +refs/heads/*:refs/remotes/m109bosh/*
          url = https://github.com/m1093782566/bosh.git
  </code></pre>
  
  <p>I guess the root cause maybe the missing of [branch "test_http_1204"] in the .git/config, but when I add these lines to .git/config manually, it still does not work.</p>
  
  <pre><code>[branch "test_http_1204"]
          remote = m109bosh
          merge = refs/heads/test_http_1204
  </code></pre>
  
  <p>I have no idea about that. Could you please tell me how to fix it? Thanks!</p>