I am new to git version control and I dont know how to clone / pull a specific branch of a repo . Trying to get the branch master of the project, but it defaults to
master
To clone a particular branch in a git repository
- Command: git clone "repository_url" -b "branch_name" - Example: git clone https://gitlab.com/amm.kazi/yusufoverseas.git -b routes