From within a local repository, run:
$ git instaweb
$ man git-instaweb
On Fedora:
$ sudo dnf install git-instaweb