Add checkout and branch commands.