Update %(branch) to point to current branch in the main view

Fixes #223