code: func (r *Repository) Remotes() ([]*Remote, error) {
  	cfg, err := r.Storer.Config()
  	if err != nil {
  		return nil, err
  	}
  
  	remotes := make([]*Remote, len(cfg.Remotes))
  
  	var i int
  	for _, c := range cfg.Remotes {
  		remotes[i] = newRemote(r.Storer, c)
  		i++
  	}
  
  	return remotes, nil
  }
docs: // Remotes returns a list with all the remotes