Implemented shallow clone for http remotes.