class Dependabot::Clients::Bitbucket

def fetch_default_branch(repo)

def fetch_default_branch(repo)
  response = get(base_url + repo)
  JSON.parse(response.body).fetch("mainbranch").fetch("name")
end