Add tests for git_util.

Addressed comments.