import IGitAPI related code from git-plugin
improve test reproductibility