how to go back to previous branch version on branch history code example Example: git go to previous branch git checkout -