code: func (c *CommitsComparison) GetTotalCommits() int {
  	if c == nil || c.TotalCommits == nil {
  		return 0
  	}
  	return *c.TotalCommits
  }
docs: // GetTotalCommits returns the TotalCommits field if it's non-nil, zero value otherwise.