query getLatestCommitSha($projectPath: ID!, $ref: String) {
  project(fullPath: $projectPath) {
    repository {
      tree(ref: $ref) {
        lastCommit {
          sha
        }
      }
    }
  }
}
