khuxtable/wagon-gitsite — pull request #19 by kohsuke (2012-09-24 17:35:09+00:00)
Title: Fixed the broken branch name support.

Maven appears to normalize the site URL by adding trailing '/' even when POM doesn't have it. This is observed in Maven site plugin 3.0 + Maven 3.0.4.

Since a branch name can never end with '/', the easiest way out here is to simply remove it if it's present.