Replace git command update-ref by a LibGit2Sharp call to UpdateRef()


PS : there is one more not replaced because we use "update-ref" with a comment.
Perhaps we should do the replacement anyway. If you judge, so, do it... ;)