git how to sync local with remote brances code example
Example: git sync local branch with remote
git fetch --prune origin
git reset --hard origin/master
git clean -f -d
git fetch --prune origin
git reset --hard origin/master
git clean -f -d