pub fn add_worktree( directory: &Path, name: &str, track: Option<(&str, &str)>, no_track: bool, ) -> Result<Option<Vec<String>>, String>