jenkinsci/github-plugin — comment on commit b2ba0720341ac8325c01027c87dff80bbbe44e6e
File:  line 0
By jzaefferer:

The ".git" part should be optional, and the dot should get escaped; the ?: makes it a non-capturing group: (?:\.git)?