Supporting library for git-branchless.