Added branch name length check. Changed branch name format