Sample Code *********** Commands - which might or might not work: :: git fetch git remote -v git remote show origin git checkout -b master origin/master clean -f git clean -f git checkout -b master origin/master git reset --hard git checkout -b master origin/master git clean -f git status git clean -f -d git checkout -b master origin/master git log -1