code: func (g *Git) Pull(ctx context.Context, remote, branch string) error {
  	if !g.IsInitialized() {
  		return store.ErrGitNotInit
  	}
  
  	if remote == "" {
  		remote = "origin"
  	}
  	if branch == "" {
  		branch = "master"
  	}
  
  	cfg, err := g.repo.Config()
  	if err != nil {
  		return errors.Wrapf(err, "Failed to get git config: %s", err)
  	}
  	if _, found := cfg.Remotes[remote]; !found {
  		return store.ErrGitNoRemote
  	}
  
  	return g.wt.PullContext(ctx, &git.PullOptions{
  		RemoteName:    remote,
  		ReferenceName: plumbing.ReferenceName(branch),
  		Progress:      Stdout,
  	})
  }
docs: // Pull will pull any changes