git force apply patch already exists in working directory --reject code example Example: gitapply patch file git apply <filename>