github accept all incoming changes code example Example: git accept incoming changes for all git checkout --theirs path/to/file