Revert "added null checking and git wrapper exceptions"

This reverts commit 988bcaa27e882f786d71875aee8906a55c03204e.

redoing it