You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: downloadCnmfGithubRepositories.m
    path of file: ./repos/ciatah/+ciapkg/+download
    
    the code of the file until where you have to start completion: function [success] = downloadCnmfGithubRepositories(varargin)
	% Biafra Ahanonu
	% Downloads CNMF and CNMF-E repositories.
	% started: 2019.01.14 [10:23:05]
	% changelog
		% 2020.04.03 [14:02:33] - Save downloaded compressed files (e.g. zips) to a sub-folder.
		% 2020.06.28 [13:08:16] - Final implementation of force update, to bring to most current version of all git directories.
		% 2020.06.28 [14:01:17
    
function subfxnOldDownload()
		% % If forcing an update, make sure to remove all external programs from the path
		% if options.forceUpdate==1
		% 	ciapkg.download.updatePathCleanup(options.signalExtractionDir);
		% end

		% for gitNo = 1:nRepos
		% 	display(repmat('=',1,7))
		% 	fprintf('%s\n',gitNameDisp{gitNo});

		% 	outDirPath = [signalExtractionDir filesep outputDir{gitNo}];

		% 	% Make directory
		% 	rawSavePathDownload = [signalExtractionDir filesep '_downloads'];
		% 	if ~exist(rawSavePathDownload,'dir');mkdir(rawSavePathDownload);fprintf('Made folder: %s',rawSavePathDownload);end
		% 	rawSavePathDownload = [rawSavePathDownload filesep outputDir{gitNo} '.zip'];

		% 	% Remove directory and downloaded zip file if forcing an update.
		% 	if options.forceUpdate==1
		% 		if exist(outDirPath,'dir')
		% 			fprintf('Removing directory to allow updates: %s\n', outDirPath);
		% 			status = rmdir(outDirPath,'s');
		% 			if status==0
		% 				disp('Something went wrong removing the directory, check for proper permissions, etc.')
		% 			end