I work at a Git project.
My further work plan is to switch from main branch to to "devel" branch where I develop new features.
But it is possible that sometimes while working in "devel" branch I may spot an error. If I spot an error, I should correct it not only in "devel" but in "main" also.
It is not convenient to switch from "devel" to "main" (and back) every time I find an error.
How to do it with ease?