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
You may try this
git clone --single-branch --branch host:/dir.git