% Check if the current directory is a Git repository
if~isGitRepository()
error('This is not a Git repository.');
warning('This is not a Git repository. The version you are using cannot be checked against the shared repository. Enable Git and make sure this is a git repository to validate versions.\n The most up to date code can be found at: https://gitlab.rc.uab.edu/cbsmith2/transcription-save-script');
end
% Fetch the latest changes from the remote repository