You remember that the SHA1 hash produces a short string that is unique for a given file contents.
Starting with the very first snapshot in the project history, you start a big conversion process. First, you create a directory named “objects” outside of the code history.