Use ruby to access git