code: func (gc *gitConfig) Write(path string) error {
  	f, err := os.Create(path)
  	if err != nil {
  		return err
  	}
  	defer f.Close()
  	if err = gitConfigTempl.Execute(f, gc); err != nil {
  		return err
  	}
  	return f.Close() // failure to close the file is an overall failure
  }
docs: // Write actually writes the config to 'path'.