Use Java API to create GitAPITestCase temp file rather than "touch"

The "touch" command may not be available on the Windows operating
system, especially if the JGit porting efforts are successful.
Use git protocol for GitTestCase reference repo instead of ssh protocol

The git protocol can be read by anyone and does not require ssh keys.