title: Git: "not a valid name" when adding local repo as remote repo
body: <p>I have this situation:</p>
  
  <p>I have two repositories on my machine, both are based on the same original repository.</p>
  
  <p>But the other one has a branch I would like to copy to the other (I created it on that other repo and did lots of changes). Reason for this is that the second repo is in the Eclipse workspace and includes my "current" work.</p>
  
  <p>I have tried creating a remote repo:</p>
  
  <pre><code>[remote "other"]
  fetch = +refs/heads/*:refs/remotes/other/*
  url = /home/me/src/other
  </code></pre>
  
  <p>It shows up with git remote:</p>
  
  <pre><code>$:~/src/prod$ git remote
  other
  origin
  </code></pre>
  
  <p>But if I try to access that branch with e.g. </p>
  
  <pre><code>git branch --track other_branch other/branch
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>fatal: Not a valid object name: 'other/branch'.
  </code></pre>
  
  <p>That branch does exist, I have verified with "git branch".</p>
  
  <p>So what's wrong?</p>
  
  <p>I also tried adding this to .git/config with</p>
  
  <pre><code>[branch "branch"]
  remote = other
  merge = refs/heads/other_branch
  </code></pre>
  
  <p>But the branch won't show up with "git branch -r".</p>