some git error cleanup
Merge pull request #2825 from devoncarew/devoncarew_git_errors

some git error cleanup