override code with git code in machine code example Example: git overwrite local branch with remote git reset --hard origin/master