title: git: pushing a new, empty branch for an empty project?
body: <p>I have an empty project on remote, which I cloned. Now I want to start working on a branch, <code>testdev</code> and start working on it without putting any code to master.</p>
  
  <pre><code>$ git checkout -b testdev
  $ git status
  On branch testdev
  
  Initial commit
  
  nothing to commit (create/copy files and use "git add" to track)
  </code></pre>
  
  <p>Now I try to push this branch to bitbucket</p>
  
  <pre><code>$ git push origin testdev
  
  error: src refspec testdev does not match any.
  error: failed to push some refs to 'https://username@bitbucket.org/myremoterepo.git'
  </code></pre>
  
  <p>I tried <code>git add .</code> and <code>git commit -m "msg"</code> but that is useless as I don't have any files to track or commit. So how do I push an empty branch to an empty project?</p>