Git – Diff file between last and last commit

This line checks the change of the “configmap.yml” file between the last and the last but one commit, if there was a change in it, then the configmap update in Kubernetes is performed.