gitwrapper attempt and null checking

changed gitAdd to use Git::Wrapper::Exception, which just extends the php exception class. also added a check in the function for null parameters