Here's what I'm trying to accomplish. Sometimes, due to time constraints, code has been written poorly. The code gets merged and may not be changed again for quite some time.
I would like to be able to add comments to a branch (let's call it Branch_A), so that the next time someone checks out the Branch_A or creates a branch off of it (let's call that Branch_A_1) that the developer would be able to see the list of things to be fixed.
Even if it's as simple as a bulleted list, that would be great.
Of course, you could just check in a .txt file to the branch with a list of things to do, but then the developer may never open that file.
Assuming you are writing Java, you could also leave //TODO comments in your code, but that ends up being a Sonar violation.