scm: git: fix creating and updating repository
Authored by: tmaruyama 2012-05-03
Parent: [r9615]
Child: [r9617]