If you do not do that and you simply mess up terribly, You should use git reflog to go find your department before messing it up, that is A great deal harder, much more stress filled, and a lot more mistake-prone. Your 2nd illustration will reset the exception's stack trace. https://windows-10-11-pro-1pc-ret84546.blogsvirals.com/30745715/1-15-an-overview