Move branch definition into all.py