Now that we switched to using releases, instead of a simple clone/pull of the master branch, we should think of switching to simply downloading a release tarbal
curl https://github.com/creationix/nvm/archive/v0.10.0.tar.gz | \
tar -xzC ~/.nvm --strip-components=1