Adding branch to session