One way to manage this is to implement these features as objects in Git. For example, have a separate branch called `issues` with e.g. one Markdown file per issue, and either separate or embedded comments and tracking metadata. There are projects like git-bug https://github.com/git-bug/git-bug that do this much better and at scale.