change to recongnise root git dir