Refactor Git output handling...