Fix bug in git prompt

Make git prompt show the status of untracked files in the repository
rather than untracked files in the current directory. This behavior is
more intuitive, and the prompt does not change as a result of switching
directories within a git repository.