private void InitAndPullRepository(GitInstance git)
{
RunGitOnRepo(git, "init").ExpectSuccess();
RunGitOnRepo(git, String.Format("remote add origin {0}", RepositoryUrlWithCredentials)).ExpectSuccess();
var result = RunGitOnRepo(git, "pull origin master");
Assert.AreEqual(String.Format(git.Resources[MsysgitResources.Definition.PullRepositoryError], RepositoryUrlWithoutCredentials), result.StdErr);
}