Wrap git operations.