added more support for the git plugin
added some default parameters
reproduce the defaults of the Git Plugin 2.0 while keeping compatibility
Merge pull request #108 from jenkinsci/git-closure

added more support for the git plugin