Synchronized validateAll.m and pushToGitHub.m