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