Add a --branch option to different commands