Github: fix remote branch ref
Github: simplify mapping user -> fork repository

* use separate containers for known branches and known forks
Github: simplify

* extract variables
* rename functions