Speed up git branch name in prompt

Not sure yet how robust this solution is, with handling rebase status,
for example. Will find out soon enough.