I'm trying to view the history of a file on GitHub locally on my Mac OS X laptop because GitHub tells me "Sorry, this commit history is taking too long to generate." (see URL https://github.com/Homebrew/homebrew-core/commits/master/Formula/pipenv.rb)
It suggests that I use this command:
git log master -- Formula/pipenv.rb
... but when I run the command I get this error:
fatal: not a git repository (or any of the parent directories): .git
Do I need to do a "git clone" first in a temporary directory, and how do I specify the GitHub address URL?