updated getter/setter macro
improved prompt for git. now handles tags and detached head