An alternative way of solving this:
https://news.ycombinator.com/item?id=17242015
Pair that an open spec for something like Jira or a Kanban board and the concept of GitHub or GitLab or Bitbucket+Jira could be commodity.
Fossil isn't a bad idea as a general replacement for all of this too.