pub fn commit_and_push( repository: &Repository, access_token: Option<String>, message: &str, index_path: &Path, modified_file: &Path, ) -> Result<()>