Add support for checking out another branch