git checkout branch and set upstream