$ git clone http://github.com/large-repository --depth 1 $ cd large-repository $ git fetch --unshallow