DESCRIPTION
Branch switching wasn't possible in earlier versions. If user deploys
"master" branch first and then wants to switch to "pages" branch, they
would have to delete the Pages-managed copy of the repository to
re-initialize the repository.
This patch introduces changes to switch to user configured branch on
startup and at each repository update.