Fix branch colours
Use nth
Print refs
Colour the refs
Use mapconcat