code: func readGitFile(file string) string {
  	content, err := ioutil.ReadFile(path.Join(".git", file))
  	if err != nil {
  		return ""
  	}
  	return strings.TrimSpace(string(content))
  }
docs: // readGitFile returns content of file in .git directory.