title: Issue pushing new code in Github
body: <p>I created a new repository on Github which has only Readme.md file now.</p>
  
  <p>I have a newly created RoR project which I wanted to push to this repository.
  Following are the commands I gave in my Terminal to execute this along with the error I am getting.</p>
  
  <pre><code>git remote add origin https://github.com/aniruddhabarapatre/learn-rails.git
  </code></pre>
  
  <p>After which I entered my username and password</p>
  
  <pre><code>git push -u origin master
  </code></pre>
  
  <p>Error ---</p>
  
  <pre><code>To https://github.com/aniruddhabarapatre/learn-rails.git
   ! [rejected]        master -&gt; master (fetch first)
  error: failed to push some refs to 'https://github.com/aniruddhabarapatre/learn-rails.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 merge the remote changes (e.g.,
  hint: 'git pull') before pushing again.
  hint: See the 'Note about fast-forwards' in 'git push --help' for details.
  </code></pre>
  
  <p>This is my first time pushing my code to a Github repository and I'm lost with the errors. I searched few other questions that are asked here, but none of them had issues first time.</p>