how to reset pull changes from the remote branch code example Example: git reset branch git fetch origin git reset --hard origin/branch_name