Git Cheatsheet

Reset local branch and replace with remote

git fetch origin
git reset --hard origin/branch
git clean -f -d