Update github branches in gen.py