refactor: Replace explicit system with ruby-git