Each piece must be reparametrized to \([0,1]\) and matched at \(t=\tfrac12\): \(\alpha(1)=b=\beta(0)\), so \(\gamma\) is continuous. Using \(\beta(2t)\) on the second piece leaves \([0,1]\).
A space \(X\) is path-connected if every pair of points \(a,b\in X\) is joined by a path: a continuous function \(\gamma:[0,1]\to X\) with \(\gamma(0)=a\) and \(\gamma(1)=b\).