title: Git error: src refspec master does not match any error: failed to push some refs
body: <p>I am trying to add a file to my repository on BitBucket and I am having trouble.</p>
  
  <p>I am using GIT and this is what I type in </p>
  
  <pre><code>$ cd lis4368/assignments
  $ git remote
  $ git remote -v
  $ git remote rm origin
  </code></pre>
  
  <p>and then I type this in (this is what BitBucket tells me to enter)</p>
  
  <pre><code>$ git remote add origin https://cpb09e@bitbucket.org/cpb09e/cpb09e.git
  $ git push -u origin master
  </code></pre>
  
  <p>And I keep getting this error message: </p>
  
  <pre><code>error: src refspec master does not match any.
  error: failed to push some refs to 'https://cpb09e@bitbucket.org/cpb09e/cpb09e.git'
  </code></pre>
  
  <p>Can someone pleas help me out? I have tried everything from git commit to rm -rf * and I cannot get anything to work at all.</p>