This is a Ruby script that enhances the standard git branch
listing by organizing and color coding remotes (origin, root, etc).
- Branches whose remote is origin (the default) are listed at the top.
- Branches whose remote is not origin are listed next, with the remote displayed in magenta. This makes it easier to see branches that are shared with other developers.
- A hardcoded list of staging branches are displayed at the bottom in gold.