how to go back to previous branch in git code example
Example 1: git go to previous branch
git checkout -
Example 2: git go back to previous commit
git checkout 12feg3435 #commit ID
git checkout -
git checkout 12feg3435 #commit ID