Add basic git support: update branches before backporting, create branch in target repo and commit backported files to that branch.

If directories are not under git, then old behavior is triggered