code: func (r *Repository) Remote(name string) (*Remote, error) {
  	cfg, err := r.Storer.Config()
  	if err != nil {
  		return nil, err
  	}
  
  	c, ok := cfg.Remotes[name]
  	if !ok {
  		return nil, ErrRemoteNotFound
  	}
  
  	return newRemote(r.Storer, c), nil
  }
docs: // Remote return a remote if exists