Testing the upload method for git