Fixed libgit2 bug/deprecated

In libgit2 the "Credentials" property is deprecated, instead
CredentialsHelper should be used. In 0.19 there is a bug with the
Credentials property when cloning, using the "correct" way
(CredentialsHelper) fixes the bug:
libgit2/libgit2sharp#834

In order to be consistent I changed also the fetch method.
Merge pull request #317 from unic/fixCredentials

Fixed libgit2 bug/deprecated