This is an experimental addition to add ** support to fnmatch pattern matching in libgit2. It needs more testing.