handles a commit without comments

If the user forgot to enter comments using "git commit" then MATLAB will hang