An error shows in the Jenkins project's output, as:
hudson.plugins.git.GitException: Command "C:\Program Files (x86)\Git\cmd\git.exe fetch -t origin +refs/heads/master:refs/remotes/origin/master" returned status code 128: stdout: stderr: error: bad signature fatal: index file corruptit is failed to get the latest code from remote git repository.
Solution for this error:
- remove the .git/index file
- reset the index file, by git reset