Please check this thread Am I integrating GitHub with Jenkins wrong? - #4 by Tennessine and how to configure git: