pub fn git_toplevel(cwd: &Path) -> Result<PathBuf>
Resolve the working-tree root for the current working directory.
Returns an error if git rev-parse --show-toplevel fails.
git rev-parse --show-toplevel