gitcredential is a library that provides an implementation of the git-credential input/output format.
gitcredential