pub fn validate_repo(path: &Path) -> Result<PathBuf, PawError>
Validates that the given path is inside a git repository.
Returns the absolute path to the repository root.