add macro for git core dir