This patch set increases test coverage for some missing git functions and adds some additional edge case/exception handling logic to those functions. Change-Id: I54348599ea959691254c678bc836025cf8df8722