changed exceptions to gitwrapper exceptions