code: func (p *PushEventRepository) GetDefaultBranch() string {
  	if p == nil || p.DefaultBranch == nil {
  		return ""
  	}
  	return *p.DefaultBranch
  }
docs: // GetDefaultBranch returns the DefaultBranch field if it's non-nil, zero value otherwise.