[LibGit2] Fix test issues:

Diff now changed index because of different user/email.
UpdateIsDone now sets user/email to other repo.
UrlIsValid isn't passing yet on Windows due to no libssh2.