(refs #115)Use regex to create git command

And add GitCommandFactory Unit Test Spec
Merge remote-tracking branch 'upstream/ssh-access' into ssh-access