get dev/master branches in order