This `git_repository_open_ext` declaration will crash app if we pass not null handle, because of that I create two `git_repository_open_ext` declarations one that use out parameter (this method should be used in future instead of non ext method) and declaration with IntPtr that should be used only with IntPtr.Zero.