I can't view the commit history, error.

Error:

In logs:
2020/06/16 23:49:56 ...uters/repo/commit.go:311:Diff() [E] commit.GetBranchName: exit status 129 - error: unknown option exclude'
usage: git name-rev [options] ...
or: git name-rev [options] --all
or: git name-rev [options] --stdin
--name-only print only names (no SHA-1)
--tags only use tags to name the commits
--refs <pattern> only use refs matching <pattern>
--all list all commits reachable from all refs
--stdin read from stdin
--undefined allow to print `undefined` names
--always show abbreviated commit object as fallback
`