branchless::testing
pub fn with_git(f: fn(_: Git<'_>) -> Result<()>) -> Result<()>
Create a temporary directory for testing and a Git instance to use with it.
Git