Allow checkout of non-master branch in cloned repo