title: Whats the difference between `git checkout -b branch` and `git checkout -b branch origin/branch`
body: <p>As we know, I create a local <code>branch</code> branch I can use:</p>
  
  <pre><code>git checkout -b branch 
  </code></pre>
  
  <p>But there is a <code>git checkout -b branch origin/branch</code></p>
  
  <p>I do't know whats the difference between them, who can tell me about it?
  Does this command will create a remote <code>origin/branch</code>?</p>
  
  <hr>
  
  <p><strong>EDIT</strong></p>
  
  <p>I have three questions:</p>
  
  <p>1.Whether the <code>git checkout -b branch origin/branch</code> create a branch in local repo? </p>
  
  <p>2.Does <code>git checkout -b branch origin/branch</code> create a origin branch for remote repo?</p>
  
  <p>3.Or is the <code>git checkout -b branch origin/branch</code> is create a branch from local repo master branch, and <code>git checkout -b branch</code> create a branch from current branch? </p>