khuxtable/wagon-gitsite — pull request #18 by kohsuke (2012-09-24 17:24:00+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.