Added error checks for no git repo and invalid file
Merge branch 'master' of https://github.com/ilovepjs/CATEsubmission