title: How to rebase certain branch to master branch?
body: <p>I cloned certain branch from github project/repository like this:</p>
  
  <pre><code>git clone repo -b name
  </code></pre>
  
  <p>I now need to rebase it to master branch. </p>
  
  <pre><code>git rebase master
  </code></pre>
  
  <p>But I cannot do that. </p>
  
  <pre><code>fatal: Needed a single revision
  invalid upstream master
  </code></pre>
  
  <p>What should I do to make it possible? I am new to github.</p>