creating and updating issues features

are you referring to this?

if repo
      username, repo = repo.split('/') if repo.include?('/') && !username
      repo, branch   = repo.split('#') if repo.include?('#') && !branch
      branch         ||= 'master'
    end