title: git push origin master fails and gives error: src refspec HEAD does not match any
body: <p>Any help would be great. Thanks in advance!</p>
  
  <p>I have git installed, and the ssh key setup, but I'm getting this weird error.</p>
  
  <pre><code>admin@Administrators-MacBook-Pro:~/Desktop$ cd exercise/
  admin@Administrators-MacBook-Pro:~/Desktop/exercise$ git init
  Initialized empty Git repository in /Users/admin/Desktop/exercise/.git/
  admin@Administrators-MacBook-Pro:~/Desktop/exercise$ git remote add origin git@github.com:pavankat/exercise.git
  admin@Administrators-MacBook-Pro:~/Desktop/exercise$ git push origin master
  error: src refspec master does not match any.
  error: failed to push some refs to 'git@github.com:pavankat/exercise.git'
  admin@Administrators-MacBook-Pro:~/Desktop/exercise$ git push git@github.com:pavankat/exercise.git HEAD:test
  fatal: remote part of refspec is not a valid name in /
  admin@Administrators-MacBook-Pro:~/Desktop/exercise$ git push git@github.com:pavankat/exercise.git HEAD:test
  error: src refspec HEAD does not match any.
  error: failed to push some refs to 'git@github.com:pavankat/exercise.git'
  admin@Administrators-MacBook-Pro:~/Desktop/exercise$ 
  </code></pre>