[PATCH 2/7] workspace: add method for listing system branches