- To visit the state of a repository under certain commit, first clone the repo without checkout:
git clone https://github.com/karpathy/build-nanogpt.git --no-checkout
This command downloads all the repository data, but does not check out the working files.
- Navigate to the directoryone should see an seemingly empty directory.