make the repo and branch an attribute