Depend on git-core instead of git if possible