refactor(git): Updated API when errors occur
refactor(lorax): Cleaned up code for getting git log