Added getch command to be sure that all branches are loaded
Added reset so if local modifications ignore them