Trying to perform a pull from a remote repository, however the relevant code is located in a branch that is not master. I have pulled the main branch of the repository to the local branch, however the intended branch is still eluding me, and this is to inquire as to the command to point the git client toward the intended branch. The commands so far are :
git init
git echo > file
git add .
git commit -m "message"
git remote add remoteRepository <remote address>
git pull remoteRepository master
The “git clone” will sync the repository. If you do a “git branch” after doing the initial “git clone”, it may not reveal the other branches. (Perhaps that’s a bug?) Rest assured, as soon as you type the “git checkout” command, it magically switches you to the expected branch.