Add tests for GitUtils::in_git_repo?

Signed-off-by: Pang Yan Han <pangyanhan@gmail.com>