I do not understand the benefit in the described scenario:
Why not branch for the typo and the code refactoring?
Is it a bad habit to reflect your changes after you coded them?
I see the benefits for a backlog in Git by using git plan, though. I would have used Gitlab Issues for this...