gitbranch-1.0.0 is not a library.
gitbranch
It simply shows current branch name - or nothing if it isn’t a git repo.
Build and install
Use
Directory defaults to current working directory.
License: BSD-3-Clause