pub fn new(root: &'static Utf8Path) -> Result<Self> {
        let git_cli = Self {
            root,
            tracked_files: OnceCell::new(),
        };
        git_cli.validate()?;
        Ok(git_cli)
    }
/// Creates a new instance of the Git CLI.
Creates a new instance of the Git CLI.
Creates a new instance of the Git CLI .
pub fn new(root: &'static Utf8Path) -> Result<Self> {
        let git_cli = Self {
            root,
            tracked_files: OnceCell::new(),
        };
        git_cli.validate()?;
        Ok(git_cli)
    }
pub fn new ( root : & ' static Utf8Path ) -> Result < Self > { let git_cli = Self { root , tracked_files : OnceCell :: new ( ) , } ; git_cli . validate ( ) ? ; Ok ( git_cli ) }
Creates a new instance of the Git CLI.
Creates a new instance of the Git CLI .
root
&'static Utf8Path