Update lib/git.rb

cause exit failure code to be passed through without overwriting it