Below is the query I am using to get details for a specific branch i.e. master
query { project(fullPath: "gitlab-org/gitlab") { name id