title: How exactly can I check to see if a remote branch exists?
body: <p>I am reviewing a pull request from a user on a library that my company is sponsoring. The branch that the said project is of course <code>company:master</code>. The branch where the pull request is coming from is <code>user:fix-shell</code>. Now I've pulled the code and ran a <code>git branch</code> and I don't see the branch existing. I tried a <code>git fetch --all</code> which returned nothing. Then I tried <code>git fetch user:fix-shell</code> and returned this error:</p>
  
  <pre><code>ssh: Could not resolve hostname user: Name or service not known
  fatal: Could not read from remote repository.
  
  Please make sure you have the correct access rights
  and the repository exists.
  </code></pre>
  
  <p>I then tried <code>git ls-remote</code> and did not see anything that was <code>user:fix-shell</code>.</p>
  
  <p>Can I rightly conclude that this pull request does not exist anymore to check out? Is there a command that I haven't tried yet that I should?</p>