Revert "checkout and update of branches should be by datestamp irrespective of whether there is fallback to head if the branch is missing."

This reverts commit d0c8df0fa8c0f35c92b43e46d7ac59d21ef926db.