Clone a local or remote git repository at a specific revision from
nodejs.
