Add checkout(String, String) test with non-null ref argument
Add test of checkout(String, String) with non-null ref

Used the git-client-1.6.0 SHA1 as the basis and cloned the local
mirror of the git client repo so that a consistent value is available.