We use the git http(s) protocol (https://www.git-scm.com/docs/http-protocol; smart service) to get all branches from a repository on e.g. GitHub or BitBucket like this:
GET https://github.com/larshp/abapgit.git/info/refs?service=git-upload-pack
The response gives us a list of all branches within the given repository.
Now we need to confirm that a given commit is existent in a specific branch. Also it would be nice if we could get a list of commits by a given branch via the git http procotol. How does such requests have to be specified? Many thanks in advance for the help!
Related to: Revert to any single Commit #3040