Switched to #branch declaration instead of checking out in prepare