fix ambiguous type errors when using treeEntryToOid

I get ambiguous type errors whenever I try and use "treeEntryToOid". Removing the MonadGit bit from the type of the function fixes this. Not sure if this is the right fix, since I'm new to Haskell, but it's my best bet, since the types are already constrained enough I think.