pub fn clone_or_update_repo( repo_url: &str, repo_dir: &str, branch: &str, ) -> Result<String, String>
Clone or update a git repository.
Returns the path to the repository directory on success.