Git: Checkout a Different Branch March 27th, 2015

git checkout master   /* switch to master branch */
git reset —hard   /* clears local to match origin */
git branch -a   /* lists branches */
git checkout BRANCH   /* checks out BRANCH branch */