Get error message ”fatal: sha1 information is lacking or useless” when apply a patch using “git am -3” June 8, 2023 by Tarik Just did the following and was able to solve this issue: patch -p1 < example.patch