use git check-ref-format to check the branch name
Merge pull request #6 from apowers/master

better branchname checking