This could possibly use git-js, or some other means. .git/logs/HEAD also has a complete list of every commit ever downloaded, it appears.