Upgrade to 0.8.0, centralize gitrefs + other cleanup

review by @cunei, /cc @gkossakowski

follow-up for #7