title: git checkout master error: pathspec 'master' did not match any file(s) known to git
body: <p>So I've created a new rails app  <code>rails new myapp</code> then then a <code>cd myapp</code> and then <code>git init</code> and then <code>git checkout -b experimental</code> - it created new branch just fine, and as I tried switch back to the master it did not work and I get the error that's in the title, also <code>git branch</code> - nothing, so I did chceck and the branches folder is empty as I expected?</p>