updated pr_github do accept optional branch