add a directory which is a git repo