got repo and branch switching working