Revert "[git] Adjusting a fragile git branch parsing script for my bash prompt"

This reverts commit dd1f666c99c3eaa598aa3d0afe5a912b6520127c.