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