Faster git commands in .bash_prompt

- Use `git-rev-parse(1)` to get the current branch faster.
- Use `git status --porcelain` to check if the working tree is dirty.
- Remove unnecessary repetitive calls to `git-branch(1)`.