Update procedure to configure git by ymmt2005 · Pull Request #287 · actions/create-github-app-token
The current procedure for configuring git does not allow it to push commits
besides the current repository, even if the app token may have access to other
repositories. It also does not allow git to clone such a repository.
This new procedure configures gh first and then calls gh auth setup-git
to configure git so it will work for any repository that the token has access to.