Add git completion config
Refactor