code: func (c *Configuration) RemoteRefNameForCurrentBranch() (string, error) {
  	ref, err := CurrentRef()
  	if err != nil {
  		return "", err
  	}
  
  	if ref.Type == RefTypeHEAD || ref.Type == RefTypeOther {
  		return "", errors.New("not on a branch")
  	}
  
  	remote := c.RemoteForBranch(ref.Name)
  	if remote == "" {
  		return "", fmt.Errorf("remote not found for branch %q", ref.Name)
  	}
  
  	remotebranch := c.RemoteBranchForLocalBranch(ref.Name)
  
  	return fmt.Sprintf("refs/remotes/%s/%s", remote, remotebranch), nil
  }
docs: // RemoteRefForCurrentBranch returns the full remote ref (refs/remotes/{remote}/{remotebranch})
  // that the current branch is tracking.