title: ! [rejected] master -> master (non-fast-forward) on a new up-to-date branch
body: <p>In my repo, I have a <code>master</code> branch, and a <code>new</code> branch.</p>
  
  <p>I've been working on <code>new</code> for a while, making commits, and pushes as I go. I decided now to branch off <code>new</code> and call it <code>newest</code>. So I did </p>
  
  <pre><code>git checkout -b "newest"
  </code></pre>
  
  <p>and the branch was successfully created. I added a file, and started working on it. I committed my changes a couple of times. </p>
  
  <p>BUT when I try to push this new branch and my changes to it to <code>origin</code>, I get this error:</p>
  
  <pre><code>C:\wamp\www\myproj&gt;git push origin
  To https://github.com/Imray/Proj.git
   ! [rejected]        master -&gt; master (non-fast-forward)
   ! [rejected]        new -&gt; new (non-fast-forward)
  error: failed to push some refs to 'https://github.com/Imray/Proj.git'
  hint: Updates were rejected because a pushed branch tip is behind its remote
  hint: counterpart. Check out this branch and integrate the remote changes
  hint: (e.g. 'git pull ...') before pushing again.
  hint: See the 'Note about fast-forwards' in 'git push --help' for details. 
  </code></pre>
  
  <p>So, as specified in the instructions, I tried <code>git pull</code>, but then I got:</p>
  
  <pre><code>There is no tracking information for the current branch.
  Please specify which branch you want to merge with.
  See git-pull(1) for details
  
      git pull &lt;remote&gt; &lt;branch&gt;
  
  If you wish to set tracking information for this branch you can do so with:
  
      git branch --set-upstream-to=origin/&lt;branch&gt; newest
  </code></pre>
  
  <p>I'm stuck.</p>
  
  <p>How do I push my new branch and the changes to <code>github</code>?</p>