code: def git_show_file(path, ref):
      
      root = get_root()
      command = 'git show {}:{}'.format(ref, path)
  
      with chdir(root):
          return run_command(command, capture=True).stdout
docs: Return the contents of a file at a given tag