shows path relative to git-root when inside a git repo

inspiration and part of the code come from http://radiumblue.net/blog/2013/04/29/zsh-prompt-spicing-up-the-present-working-directory/