How does GitHub api get the content of a branch?

for example, I am working on my own github api. Only the data url of the main branch can be pulled through api. Can"t get the other branches.

Sep.11,2021

two ways:
1. Specify a branch of clone

git clone -b <branch_name> <repo_name>
:
git clone -b my-branch git@github.com:user/myproject.git

go to the warehouse under 2.clone and switch to the branch you need

git clone git@github.com:user/myproject.git

git branch -a 

git checkout <branch_name>
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-15d0144-2263f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-15d0144-2263f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?