I have worked on a local branch and also pushed the changes to remote. I want to revert the changes on that branch and do something else on it, but I don\'t want to lose the
This avoids the potentially time-consuming and unnecessary act of checking out a branch. Recall that a checkout modifies the "working tree", which could take a long time if it is large or contains large files (images or videos, for example).