Is it possible to get details of a Git Commit using only the SHA-1 hash (without knowing the repository name and the respective branch) using the GitHub REST API or GraphQL API v4?
As per specification of GitHub's REST API, it isn't possible. Currently, I am using the GitHub GraphQL API and I have not been successful in achieving this.