Added helper function to choose remote class based on URL
Added git transport and refactored tests