title: New Git repository has no "master" branch
body: <p>I just created a new git repository and only did one commit.  Now I do not see a master branch.  These are roughly the commands I ran.</p>
  
  <ul>
  <li>git init</li>
  <li>git checkout -b dev</li>
  <li>(I made some changes to the monitored directory)</li>
  <li>git add --all</li>
  <li>git commit -m "a message"</li>
  </ul>
  
  <p>Now when I do a "git branch -a" I do not see a master and if I do "git checkout -b master" I get an error.  After reading "<a href="https://stackoverflow.com/questions/9162271/fatal-not-a-valid-object-name-master">fatal: Not a valid object name: &#39;master&#39;</a>" I see that this is expected behavior.  My understanding is that it is typical (and desirable) for repositories to have a master branch.</p>
  
  <p>So I have 2 questions.  What are the steps that I should have followed to keep the master branch?  What should I do now to get the master branch back?</p>
  
  <p>Thank you in advance for any help<br/>
  Joe</p>