make new style hidden when no git repo is present