Fix git-completion bug. Add it as util