If you do not do that and you also mess up badly, You must use git reflog to go uncover your branch ahead of messing it up, that's Substantially more difficult, much more stress filled, plus much more error-vulnerable. Alternatively, You should use git stash or maybe more thoroughly git stash conserve "identify description" to save your code in