Strip home directory from pwd
Don't use short_pwd if not in git directory
Added some comments
Cleaned up support for bare git repositories
Added Subversion support