Refactor git debug info