[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[],[],null,["# Find a Git Branch\n\nVersion 4.0.25.14 (latest)\n\n### Get the specified Git Branch\n\nReturns the git branch specified in branch_name path param if it exists in the given project repository\n\nRequest\n-------\n\nGET /projects/{project_id}/git_branch/{branch_name} \nDatatype \nDescription \nRequest \nHTTP Request \npath \nHTTP Path \nExpand HTTP Path definition... \nproject_id \nstring \nProject Id \nbranch_name \nstring \nBranch Name\n\nResponse\n--------\n\n### 200: Git Branch\n\nDatatype \nDescription \n(object) \n[GitBranch](/looker/docs/reference/looker-api/latest/types/GitBranch) \ncan \n*lock* \nobject \nOperations the current user is able to perform on this object \nname \nstring \nThe short name on the local. Updating \\`name\\` results in \\`git checkout \\` \nremote \n*lock* \nstring \nThe name of the remote \nremote_name \n*lock* \nstring \nThe short name on the remote \nerror \n*lock* \nstring \nName of error \nmessage \n*lock* \nstring \nMessage describing an error if present \nowner_name \n*lock* \nstring \nName of the owner of a personal branch \nreadonly \n*lock* \nboolean \nWhether or not this branch is readonly \npersonal \n*lock* \nboolean \nWhether or not this branch is a personal branch - readonly for all developers except the owner \nis_local \n*lock* \nboolean \nWhether or not a local ref exists for the branch \nis_remote \n*lock* \nboolean \nWhether or not a remote ref exists for the branch \nis_production \n*lock* \nboolean \nWhether or not this is the production branch \nahead_count \n*lock* \ninteger \nNumber of commits the local branch is ahead of the remote \nbehind_count \n*lock* \ninteger \nNumber of commits the local branch is behind the remote \ncommit_at \n*lock* \ninteger \nUNIX timestamp at which this branch was last committed. \nref \nstring \nThe resolved ref of this branch. Updating \\`ref\\` results in \\`git reset --hard \\`\\`. \nremote_ref \n*lock* \nstring \nThe resolved ref of this branch remote.\n\n### 400: Bad Request\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 404: Not Found\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link\n\n### 429: Too Many Requests\n\nDatatype \nDescription \n(object) \n[Error](/looker/docs/reference/looker-api/latest/types/Error) \nmessage \n*lock* \nstring \nError details \ndocumentation_url \n*lock* \nstring \nDocumentation link"]]