Changed git commands from gem to direct system call