Fix git_commit_all for OSX