Added branch querystring and changed way to checkout branch