Correct incorrect method name in git plugin