implements git completion