Checks if the Git repository is clean, meaning there are no uncommitted changes.
Throws an error if the Git repository is not clean.
Import:
import { assertGitRepoClean } from 'obsidian-dev-utils/script-utils/version';
Signature:
function assertGitRepoClean(): Promise<void>
Returns: Promise<void>