title: GitHub branch with the same name as a tag
body: <p>We had a problem last week, which was that a member of our team went to our GitHub repository and searched for a tag name in the branch list in that tag/branch pulldown, and pressed return after typing in the tag name.  But it was the name of a tag, and they had the branch tab selected.  So GitHub helpfully created a branch (from master) (when the team member pressed return).  But we didn't realize that this had happened until someone tried to deploy a tag and got the branch instead.</p>
  
  <p>Has anyone else had this problem?  We are trying to test deploying with tags/ instead, but we have 2 deployment environments, one on AWS and the other based on capistrano.  Our version capistrano apparently doesn't like that syntax, and if you use refs/tags/ it will strip the "refs/tags/" part and use just the .  So that got me worried about what AWS is doing.  I am now trying to investigate that, but I'm not very great at Chef, so I thought I would ask here.</p>
  
  <p>Is there a way to prevent creating branches with the same name as a tag in GitHub?  Does AWS use the <code>tags/</code> part or strip that out?</p>