title: How to push the code from cloud9 to Github?
body: <p>​I tried lots of times but all failed. My steps shows below</p>
  
  <ol>
  <li><p>add SSH key from cloud9 at my github and connect cloud 9 with my github</p></li>
  <li><p>new a repo called <code>git@github.com:XXX/XXX.git</code>​</p></li>
  <li><p>enter the file in cloud 9</p></li>
  <li><p><code>git remote add origin git@github.com:XXX/XXX.git</code>​​</p></li>
  <li><p><code>git push -u origin master​</code></p></li>
  </ol>
  
  <blockquote>
  <pre><code>Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts.
      To git@github.com:XXX/XXX.git​
       ! [rejected]        master -&gt; master (fetch first)
      error: failed to push some refs to 'git@github.com:XXX/XXX.git​​'
      hint: Updates were rejected because the remote contains work that you do
      hint: not have locally. This is usually caused by another repository pushing
      hint: to the same ref. You may want to first 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>
  </blockquote>
  
  <pre><code>Can some one help me? Thanks a lot!
  </code></pre>