gitauth uses 'git credential' to implement the GOAUTH protocol described in https://golang.org/issue/26232. It expects an absolute path to the working directory for the 'git' command as the first command-line argument.
Example GOAUTH usage:
export GOAUTH="gitauth $HOME"
See https://git-scm.com/docs/gitcredentials or run 'man gitcredentials' for information on how to configure 'git credential'.