Also look into git worktrees if you want to keep two or more branches checked out at the same time.
That one is very well kept secret though. Used it on various occasions when stashing wasn't interesting.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.