pub fn commit_tree( tree: &str, parents: &[&str], message: &str, dir: &str, sign: bool, ) -> Result<String>